Whamcloud - gitweb
include sys/sysmacros.h as needed
[tools/e2fsprogs.git] / misc / mk_hugefiles.c
index 049c6f4..5882394 100644 (file)
@@ -35,6 +35,9 @@ extern int optind;
 #include <sys/ioctl.h>
 #include <sys/types.h>
 #include <sys/stat.h>
+#ifdef HAVE_SYS_SYSMACROS_H
+#include <sys/sysmacros.h>
+#endif
 #include <libgen.h>
 #include <limits.h>
 #include <blkid/blkid.h>