diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-09-15 13:02:14 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-09-15 13:02:14 +0900 |
| commit | b0353acd8f50d62b81879b0469ca9245a13f90e7 (patch) | |
| tree | 7ac3c303bec74f71d32d9226a9dba32703607a8b | |
| parent | c12aa625ce7fed32f1416b9c711ea9d6e960e002 (diff) | |
| download | ducc-b0353acd8f50d62b81879b0469ca9245a13f90e7.tar.gz ducc-b0353acd8f50d62b81879b0469ca9245a13f90e7.tar.zst ducc-b0353acd8f50d62b81879b0469ca9245a13f90e7.zip | |
feat: include <unistd.h>
| -rw-r--r-- | src/preprocess.c | 1 | ||||
| -rw-r--r-- | src/std.h | 4 |
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" @@ -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*); |
