summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibarchive
diff options
context:
space:
mode:
authorZach Mullen <zach.mullen@kitware.com>2009-11-05 20:48:50 (GMT)
committerZach Mullen <zach.mullen@kitware.com>2009-11-05 20:48:50 (GMT)
commitac3f37e0b6178e6db626c0c46d5405a2182a4511 (patch)
tree053bae4afee9f58350129c4c7738c35b6c3725f9 /Utilities/cmlibarchive
parent4b795e7bca5b6dca86e2f66148e598196c9ffb33 (diff)
downloadCMake-ac3f37e0b6178e6db626c0c46d5405a2182a4511.zip
CMake-ac3f37e0b6178e6db626c0c46d5405a2182a4511.tar.gz
CMake-ac3f37e0b6178e6db626c0c46d5405a2182a4511.tar.bz2
Fix linker errors for libarchive in AIX as well.
Diffstat (limited to 'Utilities/cmlibarchive')
-rw-r--r--Utilities/cmlibarchive/libarchive/archive_entry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_entry.c b/Utilities/cmlibarchive/libarchive/archive_entry.c
index 9d27f21..ce45565 100644
--- a/Utilities/cmlibarchive/libarchive/archive_entry.c
+++ b/Utilities/cmlibarchive/libarchive/archive_entry.c
@@ -29,7 +29,7 @@ __FBSDID("$FreeBSD: src/lib/libarchive/archive_entry.c,v 1.55 2008/12/23 05:01:4
#ifdef HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
-#if defined(__sun)
+#if defined(__sun) || defined(_AIX)
#include <sys/types.h>
#include <sys/mkdev.h>
#endif