summaryrefslogtreecommitdiffstats
path: root/Utilities/cmtar/extract.c
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-12-28 17:24:27 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-12-28 17:24:27 (GMT)
commite1ca8321ed9bac8799ad34ca064d468599b67078 (patch)
tree8adde59e4150cd3e7a74f688912a05c2d4bf6055 /Utilities/cmtar/extract.c
parent3a945312ac70a90bd223c5835f6a973f40edb5c7 (diff)
downloadCMake-e1ca8321ed9bac8799ad34ca064d468599b67078.zip
CMake-e1ca8321ed9bac8799ad34ca064d468599b67078.tar.gz
CMake-e1ca8321ed9bac8799ad34ca064d468599b67078.tar.bz2
COMP: Fix build on sun by adding missing include
Diffstat (limited to 'Utilities/cmtar/extract.c')
-rw-r--r--Utilities/cmtar/extract.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Utilities/cmtar/extract.c b/Utilities/cmtar/extract.c
index 4314325..506dff1 100644
--- a/Utilities/cmtar/extract.c
+++ b/Utilities/cmtar/extract.c
@@ -34,6 +34,10 @@
# include <unistd.h>
#endif
+#ifdef HAVE_SYS_MKDEV_H
+# include <sys/mkdev.h>
+#endif
+
struct linkname
{