diff options
-rw-r--r-- | src/DSV.h | 3 | ||||
-rw-r--r-- | src/build.c | 1 | ||||
-rw-r--r-- | src/filepath.h | 1 | ||||
-rw-r--r-- | src/sha1.h | 1 |
4 files changed, 5 insertions, 1 deletions
@@ -9,6 +9,9 @@ #ifndef __RDSV_H__ #define __RDSV_H__ +#include <stdlib.h> +#include <stdio.h> + enum dsv_status { E_SUCCESS = 0, E_NO_NEWLINE_FOUND, diff --git a/src/build.c b/src/build.c index 0796e11..fdb82b9 100644 --- a/src/build.c +++ b/src/build.c @@ -14,7 +14,6 @@ #include <assert.h> #include <unistd.h> #include <sys/wait.h> -#include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <time.h> diff --git a/src/filepath.h b/src/filepath.h index 13382af..253b665 100644 --- a/src/filepath.h +++ b/src/filepath.h @@ -10,6 +10,7 @@ #define __FILEPATH_H__ #include <stdbool.h> +#include <sys/types.h> extern bool is_absolute(const char* path); extern char *remove_ext(const char *str); @@ -9,6 +9,7 @@ extern "C" { #endif #include <stdint.h> +#include <stdlib.h> typedef struct { uint32_t state[5]; |