summaryrefslogtreecommitdiffstats
path: root/src/inspect-fs-unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspect-fs-unix.c')
-rw-r--r--src/inspect-fs-unix.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/inspect-fs-unix.c b/src/inspect-fs-unix.c
index 6d574292..433ef5ce 100644
--- a/src/inspect-fs-unix.c
+++ b/src/inspect-fs-unix.c
@@ -27,7 +27,10 @@
#include <string.h>
#include <sys/stat.h>
#include <errno.h>
+
+#ifdef HAVE_ENDIAN_H
#include <endian.h>
+#endif
#include <pcre.h>