aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/archive_pack_dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/archive_pack_dev.c')
-rw-r--r--libarchive/archive_pack_dev.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libarchive/archive_pack_dev.c b/libarchive/archive_pack_dev.c
index 098881b678cd..53bddd790a30 100644
--- a/libarchive/archive_pack_dev.c
+++ b/libarchive/archive_pack_dev.c
@@ -57,6 +57,9 @@ __RCSID("$NetBSD$");
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
+#ifdef HAVE_SYS_SYSMACROS_H
+#include <sys/sysmacros.h>
+#endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif