aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-01-29 03:41:09 +0000
committerSam James <sam@gentoo.org>2023-01-29 03:41:51 +0000
commitffedc60fa41d307bda28fd108e6ff1b8da1fc2ee (patch)
treed3ed2520969ccccef48d3b65e0a22a593b0a4dfc
parent*: IWYU fixes (diff)
downloadpax-utils-ffedc60fa41d307bda28fd108e6ff1b8da1fc2ee.tar.gz
pax-utils-ffedc60fa41d307bda28fd108e6ff1b8da1fc2ee.tar.bz2
pax-utils-ffedc60fa41d307bda28fd108e6ff1b8da1fc2ee.zip
*: IWYU fixes deux
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--dumpelf.c1
-rw-r--r--paxelf.c1
-rw-r--r--paxinc.c1
-rw-r--r--paxinc.h1
-rw-r--r--paxldso.c2
-rw-r--r--paxldso.h2
-rw-r--r--paxmacho.c1
-rw-r--r--pspax.c1
-rw-r--r--scanelf.c1
-rw-r--r--scanmacho.c1
-rw-r--r--seccomp-bpf.c1
-rw-r--r--xfuncs.c1
12 files changed, 11 insertions, 3 deletions
diff --git a/dumpelf.c b/dumpelf.c
index baa6358..877b0db 100644
--- a/dumpelf.c
+++ b/dumpelf.c
@@ -11,6 +11,7 @@ const char argv0[] = "dumpelf";
#include <getopt.h>
#include <inttypes.h>
#include <stdbool.h>
+#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/paxelf.c b/paxelf.c
index 0268fa4..b072ba0 100644
--- a/paxelf.c
+++ b/paxelf.c
@@ -7,6 +7,7 @@
*/
#include <fcntl.h>
+#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/paxinc.c b/paxinc.c
index 7dfd4ca..f87e8a6 100644
--- a/paxinc.c
+++ b/paxinc.c
@@ -12,6 +12,7 @@
#include "paxinc.h"
#include <alloca.h>
+#include <stddef.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <unistd.h>
diff --git a/paxinc.h b/paxinc.h
index 7eb6802..52bbefd 100644
--- a/paxinc.h
+++ b/paxinc.h
@@ -14,6 +14,7 @@
#include <byteswap.h>
#include <errno.h>
#include <stdbool.h>
+#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/paxldso.c b/paxldso.c
index acab364..d40d7ef 100644
--- a/paxldso.c
+++ b/paxldso.c
@@ -8,9 +8,9 @@
#include <ctype.h>
#include <fcntl.h>
-#include <features.h>
#include <glob.h>
#include <stdbool.h>
+#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/paxldso.h b/paxldso.h
index 1e95851..fd9f344 100644
--- a/paxldso.h
+++ b/paxldso.h
@@ -9,8 +9,6 @@
#ifndef _PAX_LDSO_H
#define _PAX_LDSO_H
-#include <features.h>
-
#include "paxelf.h"
#include "porting.h"
#include "xfuncs.h"
diff --git a/paxmacho.c b/paxmacho.c
index fcdff4b..39db1cb 100644
--- a/paxmacho.c
+++ b/paxmacho.c
@@ -9,6 +9,7 @@
#include <byteswap.h>
#include <fcntl.h>
+#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
diff --git a/pspax.c b/pspax.c
index 1e75494..369ed37 100644
--- a/pspax.c
+++ b/pspax.c
@@ -21,6 +21,7 @@ const char argv0[] = "pspax";
#include <getopt.h>
#include <pwd.h>
#include <stdbool.h>
+#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/scanelf.c b/scanelf.c
index ee990c9..d6bb14b 100644
--- a/scanelf.c
+++ b/scanelf.c
@@ -17,6 +17,7 @@ const char argv0[] = "scanelf";
#include <inttypes.h>
#include <regex.h>
#include <stdbool.h>
+#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/scanmacho.c b/scanmacho.c
index fa1eee1..c38c5ed 100644
--- a/scanmacho.c
+++ b/scanmacho.c
@@ -16,6 +16,7 @@ const char argv0[] = "scanmacho";
#include <fcntl.h>
#include <getopt.h>
#include <stdbool.h>
+#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/seccomp-bpf.c b/seccomp-bpf.c
index 1d64172..7c3923f 100644
--- a/seccomp-bpf.c
+++ b/seccomp-bpf.c
@@ -11,6 +11,7 @@ const char argv0[] = "seccomp-bpf";
#include <err.h>
#include <stdio.h>
+#include <stddef.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/mman.h>
diff --git a/xfuncs.c b/xfuncs.c
index e912fb0..a68756b 100644
--- a/xfuncs.c
+++ b/xfuncs.c
@@ -8,6 +8,7 @@
#include <errno.h>
#include <stdbool.h>
+#include <stddef.h>
#include <stdlib.h>
#include <string.h>