diff options
author | Tharre <tharre3@gmail.com> | 2014-07-31 21:23:44 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2014-07-31 21:23:44 +0200 |
commit | 83789a68173054b66a00e4d2e33308f1432333a2 (patch) | |
tree | 2f69b55be053c8edbdf11fdac923ac714026d2b1 /src/redo.c | |
parent | 97d3f7a5055ec0da6923a5c85d2b2fc7e7dd782c (diff) | |
download | redo-83789a68173054b66a00e4d2e33308f1432333a2.tar.gz redo-83789a68173054b66a00e4d2e33308f1432333a2.tar.xz redo-83789a68173054b66a00e4d2e33308f1432333a2.zip |
Add _XOPEN_SOURCE to include the right headers
Diffstat (limited to 'src/redo.c')
-rw-r--r-- | src/redo.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 */ |