diff options
author | David Robillard <d@drobilla.net> | 2018-01-16 22:13:54 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-01-16 22:13:54 +0100 |
commit | e7992e2c48fb558f0e58099b1e98b4d45fbb58ba (patch) | |
tree | 20ac4d7802239695e203f1ccf4dacc31de59222b | |
parent | 15e7f5fe435c9ca67414a8aa1f8b2c328bab4a3d (diff) | |
download | jalv-e7992e2c48fb558f0e58099b1e98b4d45fbb58ba.tar.gz jalv-e7992e2c48fb558f0e58099b1e98b4d45fbb58ba.tar.bz2 jalv-e7992e2c48fb558f0e58099b1e98b4d45fbb58ba.zip |
Remove unnecessary includes
-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> |