summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibarchive/libarchive/archive_pack_dev.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-04-11 13:01:27 (GMT)
committerBrad King <brad.king@kitware.com>2014-04-11 13:01:27 (GMT)
commit5a58efaac3557b0cee27f06e49183069cd598a7f (patch)
treea49a42134000055066a823bec4e1d43009d24c12 /Utilities/cmlibarchive/libarchive/archive_pack_dev.h
parente2b02823e7986e7df59907b307480acad5ec6562 (diff)
downloadCMake-5a58efaac3557b0cee27f06e49183069cd598a7f.zip
CMake-5a58efaac3557b0cee27f06e49183069cd598a7f.tar.gz
CMake-5a58efaac3557b0cee27f06e49183069cd598a7f.tar.bz2
libarchive: Avoid using name 'u_long'
The system headers on some platforms define a 'u_long' type so we cannot use the name. Spell out 'unsigned long' instead.
Diffstat (limited to 'Utilities/cmlibarchive/libarchive/archive_pack_dev.h')
-rw-r--r--Utilities/cmlibarchive/libarchive/archive_pack_dev.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_pack_dev.h b/Utilities/cmlibarchive/libarchive/archive_pack_dev.h
index 7c7b80b..749fd3d 100644
--- a/Utilities/cmlibarchive/libarchive/archive_pack_dev.h
+++ b/Utilities/cmlibarchive/libarchive/archive_pack_dev.h
@@ -34,8 +34,7 @@
#ifndef _PACK_DEV_H
#define _PACK_DEV_H
-typedef dev_t pack_t(int, u_long [], const char **);
-typedef unsigned long u_long;
+typedef dev_t pack_t(int, unsigned long [], const char **);
pack_t *pack_find(const char *);
pack_t pack_native;