diff options
author | Mark Hindley <mark@hindley.org.uk> | 2018-11-12 09:10:28 +0000 |
---|---|---|
committer | Mark Hindley <mark@hindley.org.uk> | 2018-11-12 09:21:21 +0000 |
commit | 2cc17d30309a1db16cccbf376a59ae40e47b6959 (patch) | |
tree | cd51ee95799631af348ebae8630a69219bee99cd /src/basic/missing.h | |
parent | ae65e91a5439f395e0da0cd8ffda95d6289849e1 (diff) | |
parent | d4a3f291e3955648ea1d29e674b0f8f9b1556257 (diff) |
Merge remote-tracking branch 'upstream/v239-stable' into merge_upstream.
Diffstat (limited to 'src/basic/missing.h')
-rw-r--r-- | src/basic/missing.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/basic/missing.h b/src/basic/missing.h index fb1478548..37d1c2a77 100644 --- a/src/basic/missing.h +++ b/src/basic/missing.h @@ -15,18 +15,18 @@ #include <linux/neighbour.h> #include <linux/oom.h> #include <linux/rtnetlink.h> -//#include <linux/stat.h> #include <net/ethernet.h> #include <stdlib.h> #include <sys/resource.h> #include <sys/socket.h> -//#include <sys/stat.h> +#include <sys/stat.h> #include <sys/syscall.h> #include <uchar.h> #include <unistd.h> -/// Additional includes needed by elogind -#include "musl_missing.h" +#if WANT_LINUX_STAT_H +#include <linux/stat.h> +#endif #if HAVE_AUDIT #include <libaudit.h> @@ -57,6 +57,9 @@ struct sockaddr_vm { }; #endif /* !HAVE_LINUX_VM_SOCKETS_H */ +/// Additional includes needed by elogind +#include "musl_missing.h" + #ifndef RLIMIT_RTTIME #define RLIMIT_RTTIME 15 #endif |