aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/blogc-git-receiver/pre-receive.c2
-rw-r--r--src/blogc-git-receiver/shell.c2
-rw-r--r--src/blogc-make/ctx.c1
-rw-r--r--src/blogc-runserver/httpd.c2
4 files changed, 4 insertions, 3 deletions
diff --git a/src/blogc-git-receiver/pre-receive.c b/src/blogc-git-receiver/pre-receive.c
index 03b5b21..107459e 100644
--- a/src/blogc-git-receiver/pre-receive.c
+++ b/src/blogc-git-receiver/pre-receive.c
@@ -9,9 +9,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/stat.h>
#include <unistd.h>
#include <errno.h>
-#include <sys/stat.h>
#include <dirent.h>
#include <time.h>
#include <libgen.h>
diff --git a/src/blogc-git-receiver/shell.c b/src/blogc-git-receiver/shell.c
index a460ac2..4f63621 100644
--- a/src/blogc-git-receiver/shell.c
+++ b/src/blogc-git-receiver/shell.c
@@ -10,9 +10,9 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/stat.h>
#include <unistd.h>
#include <errno.h>
-#include <sys/stat.h>
#include "../common/utils.h"
#include "settings.h"
#include "shell-command-parser.h"
diff --git a/src/blogc-make/ctx.c b/src/blogc-make/ctx.c
index 423b334..0c4b32d 100644
--- a/src/blogc-make/ctx.c
+++ b/src/blogc-make/ctx.c
@@ -16,6 +16,7 @@
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
+#include <unistd.h>
#include "../common/error.h"
#include "../common/file.h"
#include "../common/utils.h"
diff --git a/src/blogc-runserver/httpd.c b/src/blogc-runserver/httpd.c
index 513c4b0..4dd4cad 100644
--- a/src/blogc-runserver/httpd.c
+++ b/src/blogc-runserver/httpd.c
@@ -11,8 +11,8 @@
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
-#include <unistd.h>
#include <sys/stat.h>
+#include <unistd.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>