aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/blogc-git-receiver/post-receive.c4
-rw-r--r--src/blogc-git-receiver/pre-receive.c2
-rw-r--r--src/blogc-runserver/httpd.c2
-rw-r--r--src/blogc/main.c1
4 files changed, 2 insertions, 7 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>
diff --git a/src/blogc-runserver/httpd.c b/src/blogc-runserver/httpd.c
index 1312ec9..66a7466 100644
--- a/src/blogc-runserver/httpd.c
+++ b/src/blogc-runserver/httpd.c
@@ -9,12 +9,10 @@
#include <errno.h>
#include <stdio.h>
#include <stdbool.h>
-#include <limits.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/stat.h>
-#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
diff --git a/src/blogc/main.c b/src/blogc/main.c
index 49b8656..787de0f 100644
--- a/src/blogc/main.c
+++ b/src/blogc/main.c
@@ -27,7 +27,6 @@
#include "loader.h"
#include "renderer.h"
#include "../common/error.h"
-#include "../common/file.h"
#include "../common/utf8.h"
#include "../common/utils.h"