aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-01-28 10:15:57 +0000
committerSam James <sam@gentoo.org>2023-01-28 10:18:34 +0000
commitf8287200aec0ca33ef07fafcdd5aef0aa6eb1306 (patch)
treef1f5212c1b0ee5b38e179050da91a0e59e4e1484 /scanelf.c
parentMake headers standalone (missing includes, prep for clang-tidy) (diff)
downloadpax-utils-f8287200aec0ca33ef07fafcdd5aef0aa6eb1306.tar.gz
pax-utils-f8287200aec0ca33ef07fafcdd5aef0aa6eb1306.tar.bz2
pax-utils-f8287200aec0ca33ef07fafcdd5aef0aa6eb1306.zip
*: IWYU fixes
Separate from the first commit as this one was done programmatically with dev-util/include-what-you-use. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'scanelf.c')
-rw-r--r--scanelf.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/scanelf.c b/scanelf.c
index 50497b2..ee990c9 100644
--- a/scanelf.c
+++ b/scanelf.c
@@ -8,7 +8,29 @@
const char argv0[] = "scanelf";
+#include <ctype.h>
+#include <dirent.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <fnmatch.h>
+#include <getopt.h>
+#include <inttypes.h>
+#include <regex.h>
+#include <stdbool.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <sys/mman.h>
+#include <sys/stat.h>
+#include <unistd.h>
+
#include "paxinc.h"
+#include "elf.h"
+#include "pax_utils_version.h"
+#include "paxldso.h"
+#include "porting.h"
+#include "security.h"
+#include "xfuncs.h"
#define IS_MODIFIER(c) (c == '%' || c == '#' || c == '+')