summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibarchive/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-01-04 14:37:54 (GMT)
committerBrad King <brad.king@kitware.com>2012-01-04 14:39:28 (GMT)
commitb6ca96ec95145b453790f519abbbae91cd6c9771 (patch)
tree67ad66d4f5d464246673f6c1652b87503c7cf522 /Utilities/cmlibarchive/CMakeLists.txt
parentf293b73d71c5dbbf053a864b2c2f285ef0834630 (diff)
downloadCMake-b6ca96ec95145b453790f519abbbae91cd6c9771.zip
CMake-b6ca96ec95145b453790f519abbbae91cd6c9771.tar.gz
CMake-b6ca96ec95145b453790f519abbbae91cd6c9771.tar.bz2
libarchive: Include linux/types.h before linux/fiemap.h
Some Linux API versions do not perform this inclusion automatically, so types like __u64 needed by the latter are not available.
Diffstat (limited to 'Utilities/cmlibarchive/CMakeLists.txt')
-rw-r--r--Utilities/cmlibarchive/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Utilities/cmlibarchive/CMakeLists.txt b/Utilities/cmlibarchive/CMakeLists.txt
index 2352693..a24bb5d 100644
--- a/Utilities/cmlibarchive/CMakeLists.txt
+++ b/Utilities/cmlibarchive/CMakeLists.txt
@@ -250,6 +250,7 @@ LA_CHECK_INCLUDE_FILE("inttypes.h" HAVE_INTTYPES_H)
LA_CHECK_INCLUDE_FILE("io.h" HAVE_IO_H)
LA_CHECK_INCLUDE_FILE("langinfo.h" HAVE_LANGINFO_H)
LA_CHECK_INCLUDE_FILE("limits.h" HAVE_LIMITS_H)
+LA_CHECK_INCLUDE_FILE("linux/types.h" HAVE_LINUX_TYPES_H)
LA_CHECK_INCLUDE_FILE("linux/fiemap.h" HAVE_LINUX_FIEMAP_H)
LA_CHECK_INCLUDE_FILE("linux/fs.h" HAVE_LINUX_FS_H)
LA_CHECK_INCLUDE_FILE("linux/magic.h" HAVE_LINUX_MAGIC_H)