summaryrefslogtreecommitdiffstats
path: root/Utilities/cmtar/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmtar/internal.h')
-rw-r--r--Utilities/cmtar/internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Utilities/cmtar/internal.h b/Utilities/cmtar/internal.h
index a382abd..01dc903 100644
--- a/Utilities/cmtar/internal.h
+++ b/Utilities/cmtar/internal.h
@@ -15,6 +15,10 @@
#include <libtar/libtar.h>
+#ifdef HAVE_SYS_SYSMACROS_H
+#include <sys/sysmacros.h>
+#endif
+
#ifndef HAVE_MAJOR
# define major(dev) ((int)(((dev) >> 8) & 0xff))
#endif