diff options
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/git.c | 3 | ||||
-rw-r--r-- | src/net.h | 1 | ||||
-rw-r--r-- | src/server.c | 1 | ||||
-rw-r--r-- | src/tcp_server.c | 1 | ||||
-rw-r--r-- | src/worker.c | 3 |
6 files changed, 5 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 093593d..c82ef24 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.3) # for include-what-you-use project(cimple VERSION 0.0.1 LANGUAGES C) @@ -1,9 +1,10 @@ #include "git.h" -#include "file.h" #include "log.h" #include <git2.h> +#include <stdlib.h> + #define git_print_error(fn) \ do { \ const git_error *error = git_error_last(); \ @@ -3,7 +3,6 @@ #include <stdint.h> #include <stdlib.h> -#include <sys/types.h> int net_bind(const char *port); int net_accept(int fd); diff --git a/src/server.c b/src/server.c index 8c2dbe6..19cce5f 100644 --- a/src/server.c +++ b/src/server.c @@ -10,7 +10,6 @@ #include <pthread.h> #include <stdlib.h> #include <string.h> -#include <unistd.h> int server_create(struct server *server, const struct settings *settings) { diff --git a/src/tcp_server.c b/src/tcp_server.c index b536507..5ea021a 100644 --- a/src/tcp_server.c +++ b/src/tcp_server.c @@ -4,6 +4,7 @@ #include "signal.h" #include <pthread.h> +#include <signal.h> #include <stdlib.h> #include <unistd.h> diff --git a/src/worker.c b/src/worker.c index f107d7e..b422271 100644 --- a/src/worker.c +++ b/src/worker.c @@ -1,5 +1,6 @@ #include "worker.h" #include "ci.h" +#include "compiler.h" #include "const.h" #include "git.h" #include "log.h" @@ -8,8 +9,6 @@ #include "process.h" #include "signal.h" -#include <errno.h> -#include <pthread.h> #include <stdlib.h> #include <string.h> #include <unistd.h> |