diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/build.c | 4 | ||||
-rw-r--r-- | src/redo.c | 3 |
2 files changed, 2 insertions, 5 deletions
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 <stdbool.h> #include <stdio.h> #include <stdlib.h> @@ -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"; @@ -1,3 +1,4 @@ +#define _XOPEN_SOURCE 600 #include <stdio.h> #include <stdlib.h> #include <sys/stat.h> @@ -8,8 +9,6 @@ #include "util.h" #include "dbg.h" -/* TODO: for some reason this header is not included */ -int setenv(const char *name, const char *value, int overwrite); int main(int argc, char *argv[]) { /* create .redo directory */ |