aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-git-receiver
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2016-11-19 05:01:41 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2016-11-19 05:01:41 +0100
commit36618fbd12c802cc201da88deccd46f8d996d1ef (patch)
tree6c00184a54fb96f0572bc75e6b4b065082eccf6c /src/blogc-git-receiver
parentbf14ad38c20536dff922c46311daccd6a85f24a9 (diff)
downloadblogc-36618fbd12c802cc201da88deccd46f8d996d1ef.tar.gz
blogc-36618fbd12c802cc201da88deccd46f8d996d1ef.tar.bz2
blogc-36618fbd12c802cc201da88deccd46f8d996d1ef.zip
fixed includes
Diffstat (limited to 'src/blogc-git-receiver')
-rw-r--r--src/blogc-git-receiver/post-receive.c4
-rw-r--r--src/blogc-git-receiver/pre-receive.c2
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>