aboutsummaryrefslogtreecommitdiffstats
path: root/src/redo.c
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2014-07-31 21:23:44 +0200
committerTharre <tharre3@gmail.com>2014-07-31 21:23:44 +0200
commit83789a68173054b66a00e4d2e33308f1432333a2 (patch)
tree2f69b55be053c8edbdf11fdac923ac714026d2b1 /src/redo.c
parent97d3f7a5055ec0da6923a5c85d2b2fc7e7dd782c (diff)
downloadredo-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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/redo.c b/src/redo.c
index ef9a32e..69f9ade 100644
--- a/src/redo.c
+++ b/src/redo.c
@@ -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 */