diff options
-rw-r--r-- | src/jalv.c | 5 | ||||
-rw-r--r-- | src/state.c | 1 |
2 files changed, 3 insertions, 3 deletions
@@ -18,11 +18,14 @@ #define _DARWIN_C_SOURCE /* for mkdtemp on OSX */ #include <assert.h> +#include <malloc.h> #include <math.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <sys/stat.h> +#include <sys/types.h> #ifndef __cplusplus # include <stdbool.h> @@ -32,8 +35,6 @@ # include <io.h> /* for _mktemp */ # define snprintf _snprintf #else -# include <sys/stat.h> -# include <sys/types.h> # include <unistd.h> #endif diff --git a/src/state.c b/src/state.c index 32d6c86..e2f2b47 100644 --- a/src/state.c +++ b/src/state.c @@ -19,7 +19,6 @@ #include <stdlib.h> #include <string.h> #include <errno.h> -#include <unistd.h> #include <sys/stat.h> #include <sys/types.h> |