aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/preprocess.c1
-rw-r--r--src/std.h4
2 files changed, 1 insertions, 4 deletions
diff --git a/src/preprocess.c b/src/preprocess.c
index 0af146c..f3b4ea8 100644
--- a/src/preprocess.c
+++ b/src/preprocess.c
@@ -3,6 +3,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include "common.h"
#include "parse.h"
#include "sys.h"
diff --git a/src/std.h b/src/std.h
index 2e4dbb1..cf8eb98 100644
--- a/src/std.h
+++ b/src/std.h
@@ -6,10 +6,6 @@
// TODO: <stdlib.h>
int mkstemps(char*, int);
-#define F_OK 0
-#define R_OK 4
-int access(const char*, int);
-
#define PATH_MAX 4096
char* dirname(char*);