aboutsummaryrefslogtreecommitdiff
path: root/src/common/tuklib_config.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2020-02-17 23:37:20 +0200
committerLasse Collin <lasse.collin@tukaani.org>2020-02-17 23:37:20 +0200
commit4e4e9fbb7e66d45319525ac224bff48fbdd0cf6e (patch)
tree7cf11801bc02cc240a7911cfe3cf658e0ed48e81 /src/common/tuklib_config.h
parentsysdefs.h: Omit the conditionals around string.h and limits.h. (diff)
downloadxz-4e4e9fbb7e66d45319525ac224bff48fbdd0cf6e.tar.xz
Do not check for HAVE_CONFIG_H in tuklib_config.h.
In XZ Utils sysdefs.h takes care of it and the required headers.
Diffstat (limited to '')
-rw-r--r--src/common/tuklib_config.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/common/tuklib_config.h b/src/common/tuklib_config.h
index 242092af..8f2e9618 100644
--- a/src/common/tuklib_config.h
+++ b/src/common/tuklib_config.h
@@ -1,8 +1,7 @@
-#ifdef HAVE_CONFIG_H
-# include "sysdefs.h"
-#else
-# include <stddef.h>
-# include <stdbool.h>
-# include <inttypes.h>
-# include <limits.h>
-#endif
+#include "sysdefs.h"
+
+// sysdefs.h takes care of these.
+// #include <stddef.h>
+// #include <stdbool.h>
+// #include <inttypes.h>
+// #include <limits.h>