aboutsummaryrefslogtreecommitdiffstats
path: root/src/redo.c
diff options
context:
space:
mode:
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 */