diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-01-27 23:34:38 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-01-27 23:34:38 +0100 |
commit | 24c9518d8af34c297c4edfaa77d4fc3a0c725f19 (patch) | |
tree | 19981874fd9a5b409694e20453ae549c336ff981 /make.c | |
parent | 408c4bfb37bbecfe5aadaa3bf2158eab34a3bfc4 (diff) |
Fix some things
Diffstat (limited to 'make.c')
-rw-r--r-- | make.c | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -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 \ |