From 24c9518d8af34c297c4edfaa77d4fc3a0c725f19 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 27 Jan 2024 23:34:38 +0100 Subject: Fix some things --- make.c | 16 +++++++--------- 1 file 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() +# include +# ifdef __GLIBC__ +# define _POSIX_C_SOURCE 200809L +# endif +#endif + #include #include #include @@ -6,16 +13,7 @@ #include #include -#if defined(__has_include) && __has_include() -# include -#endif - -#ifdef __GLIBC__ -# define _POSIX_C_SOURCE 200809L -#endif - #include "cbs.h" -#include "src/compat.h" #define CC "cc" #define WARNINGS \ -- cgit v1.2.3