aboutsummaryrefslogtreecommitdiff
path: root/make.c
diff options
context:
space:
mode:
Diffstat (limited to 'make.c')
-rw-r--r--make.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/make.c b/make.c
index f909caa..469cc98 100644
--- a/make.c
+++ b/make.c
@@ -1,3 +1,10 @@
+#if __has_include(<features.h>)
+# include <features.h>
+# ifdef __GLIBC__
+# define _POSIX_C_SOURCE 200809L
+# endif
+#endif
+
#include <errno.h>
#include <getopt.h>
#include <limits.h>
@@ -6,16 +13,7 @@
#include <string.h>
#include <unistd.h>
-#if defined(__has_include) && __has_include(<features.h>)
-# include <features.h>
-#endif
-
-#ifdef __GLIBC__
-# define _POSIX_C_SOURCE 200809L
-#endif
-
#include "cbs.h"
-#include "src/compat.h"
#define CC "cc"
#define WARNINGS \