diff options
Diffstat (limited to 'src/blogc-git-receiver')
-rw-r--r-- | src/blogc-git-receiver/post-receive.c | 4 | ||||
-rw-r--r-- | src/blogc-git-receiver/pre-receive.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/blogc-git-receiver/post-receive.c b/src/blogc-git-receiver/post-receive.c index 98f034a..70f419b 100644 --- a/src/blogc-git-receiver/post-receive.c +++ b/src/blogc-git-receiver/post-receive.c @@ -6,13 +6,13 @@ * See the file LICENSE. */ -#include <errno.h> #include <stdio.h> #include <libgen.h> -#include <limits.h> #include <unistd.h> #include <stdlib.h> #include <string.h> +#include <stdbool.h> +#include "../common/utils.h" #include "../common/config-parser.h" #include "../common/error.h" #include "../common/file.h" diff --git a/src/blogc-git-receiver/pre-receive.c b/src/blogc-git-receiver/pre-receive.c index a109fac..c27dc77 100644 --- a/src/blogc-git-receiver/pre-receive.c +++ b/src/blogc-git-receiver/pre-receive.c @@ -7,13 +7,11 @@ */ #include <stdio.h> -#include <limits.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <errno.h> #include <sys/stat.h> -#include <sys/wait.h> #include <dirent.h> #include <time.h> #include <libgen.h> |