aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-09-15 13:02:14 +0900
committernsfisis <nsfisis@gmail.com>2025-09-15 13:02:14 +0900
commitb0353acd8f50d62b81879b0469ca9245a13f90e7 (patch)
tree7ac3c303bec74f71d32d9226a9dba32703607a8b
parentc12aa625ce7fed32f1416b9c711ea9d6e960e002 (diff)
downloadducc-b0353acd8f50d62b81879b0469ca9245a13f90e7.tar.gz
ducc-b0353acd8f50d62b81879b0469ca9245a13f90e7.tar.zst
ducc-b0353acd8f50d62b81879b0469ca9245a13f90e7.zip
feat: include <unistd.h>
-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*);