From 83789a68173054b66a00e4d2e33308f1432333a2 Mon Sep 17 00:00:00 2001 From: Tharre Date: Thu, 31 Jul 2014 21:23:44 +0200 Subject: Add _XOPEN_SOURCE to include the right headers --- src/build.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/build.c') diff --git a/src/build.c b/src/build.c index 4b9b960..73fc757 100644 --- a/src/build.c +++ b/src/build.c @@ -1,3 +1,4 @@ +#define _XOPEN_SOURCE 600 #include #include #include @@ -18,9 +19,6 @@ #define _FILENAME "build.c" #include "dbg.h" -/* TODO: for some reason these headers aren't included */ -char *realpath(const char *path, char *resolved_path); -int setenv(const char *name, const char *value, int overwrite); const char do_file_ext[] = ".do"; const char default_name[] = "default"; -- cgit v1.2.3-70-g09d2