aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-git-receiver
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2020-04-16 23:08:00 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2020-04-22 03:10:11 +0200
commit179ce4ca96b8b7a411e8db8d130b59ea8d68091d (patch)
tree41e5e8b648a56bba6f92dc751d909ee6eb04f074 /src/blogc-git-receiver
parent8404096582103dccb8885b0c404f0a756685e913 (diff)
downloadblogc-179ce4ca96b8b7a411e8db8d130b59ea8d68091d.tar.gz
blogc-179ce4ca96b8b7a411e8db8d130b59ea8d68091d.tar.bz2
blogc-179ce4ca96b8b7a411e8db8d130b59ea8d68091d.zip
include `unistd.h` after `sys/stat.h`
Diffstat (limited to 'src/blogc-git-receiver')
-rw-r--r--src/blogc-git-receiver/pre-receive.c2
-rw-r--r--src/blogc-git-receiver/shell.c2
2 files changed, 2 insertions, 2 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"