aboutsummaryrefslogtreecommitdiff
path: root/make.c
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-01-28 22:17:27 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-01-28 22:17:27 +0100
commit3202be9ceac81d8e10e432ffbfea774f6240788b (patch)
tree48875bc646d0517c8521d5d2dd47296204f34d9d /make.c
parent24c9518d8af34c297c4edfaa77d4fc3a0c725f19 (diff)
Fix some compilation issues
Diffstat (limited to 'make.c')
-rw-r--r--make.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/make.c b/make.c
index 469cc98..2af70e1 100644
--- a/make.c
+++ b/make.c
@@ -1,10 +1,4 @@
-#if __has_include(<features.h>)
-# include <features.h>
-# ifdef __GLIBC__
-# define _POSIX_C_SOURCE 200809L
-# endif
-#endif
-
+#define _GNU_SOURCE
#include <errno.h>
#include <getopt.h>
#include <limits.h>
@@ -112,7 +106,7 @@ main(int argc, char **argv)
CMDPRC(c);
}
- if (foutdated("./grab", "src/grab.c", "src/compat.h", "src/da.h",
+ if (foutdated("./grab", "src/grab.c", "src/da.h",
"vendor/librune/librune.a"))
{
env_or_default(&sv, "CC", CC);