summaryrefslogtreecommitdiffstats
path: root/Utilities/cmtar/internal.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-12-31 15:33:29 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-12-31 15:33:29 (GMT)
commitccae106177c5adf87b61d14952296ea6505b4a64 (patch)
treec4569c14c234518459fcae0bb52ce661ac349501 /Utilities/cmtar/internal.h
parent75b6f523ab85b9b9b256927183b4267573bbcd2e (diff)
downloadCMake-ccae106177c5adf87b61d14952296ea6505b4a64.zip
CMake-ccae106177c5adf87b61d14952296ea6505b4a64.tar.gz
CMake-ccae106177c5adf87b61d14952296ea6505b4a64.tar.bz2
COMP: Try to fix major/minor problem on aix
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