diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2020-04-16 23:08:00 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2020-04-22 03:10:11 +0200 |
commit | 179ce4ca96b8b7a411e8db8d130b59ea8d68091d (patch) | |
tree | 41e5e8b648a56bba6f92dc751d909ee6eb04f074 /src | |
parent | 8404096582103dccb8885b0c404f0a756685e913 (diff) | |
download | blogc-179ce4ca96b8b7a411e8db8d130b59ea8d68091d.tar.gz blogc-179ce4ca96b8b7a411e8db8d130b59ea8d68091d.tar.bz2 blogc-179ce4ca96b8b7a411e8db8d130b59ea8d68091d.zip |
include `unistd.h` after `sys/stat.h`
Diffstat (limited to 'src')
-rw-r--r-- | src/blogc-git-receiver/pre-receive.c | 2 | ||||
-rw-r--r-- | src/blogc-git-receiver/shell.c | 2 | ||||
-rw-r--r-- | src/blogc-make/ctx.c | 1 | ||||
-rw-r--r-- | src/blogc-runserver/httpd.c | 2 |
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> |