Commit b4adf764 authored by Natanael Copa's avatar Natanael Copa

Fix building on eglibc

Seems like recent eglibc requires that you include sys/stat.h
parent dd600899
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <unistd.h> #include <unistd.h>
#include <sysexits.h> #include <sysexits.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <sys/stat.h>
#include <limits.h> #include <limits.h>
#include <stdint.h> #include <stdint.h>
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <signal.h> #include <signal.h>
#include <fnmatch.h> #include <fnmatch.h>
#include <sys/file.h> #include <sys/file.h>
#include <sys/stat.h>
#include "apk_defines.h" #include "apk_defines.h"
#include "apk_package.h" #include "apk_package.h"
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
#include <unistd.h> #include <unistd.h>
#include <malloc.h> #include <malloc.h>
#include <sys/mman.h> #include <sys/mman.h>
#include <sys/stat.h>
#include <pwd.h> #include <pwd.h>
#include <grp.h> #include <grp.h>
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> #include <unistd.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <sys/stat.h>
#include <openssl/pem.h> #include <openssl/pem.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment