diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/preprocess.c | 1 | ||||
| -rw-r--r-- | src/std.h | 4 | ||||
| -rw-r--r-- | src/sys.c | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/preprocess.c b/src/preprocess.c index f3b4ea8..f9fbcb4 100644 --- a/src/preprocess.c +++ b/src/preprocess.c @@ -1,5 +1,6 @@ #include "preprocess.h" #include <assert.h> +#include <libgen.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -6,8 +6,4 @@ // TODO: <stdlib.h> int mkstemps(char*, int); -#define PATH_MAX 4096 - -char* dirname(char*); - #endif @@ -1,4 +1,6 @@ #include "sys.h" +#include <libgen.h> +#include <linux/limits.h> #include <stdlib.h> #include "std.h" |
