diff options
author | Michihiro NAKAJIMA <ggcueroad@gmail.com> | 2014-10-12 14:04:25 +0900 |
---|---|---|
committer | Michihiro NAKAJIMA <ggcueroad@gmail.com> | 2014-10-12 14:10:45 +0900 |
commit | 15bcb6785945ee51218ee70a1ceaac595891b943 (patch) | |
tree | 01a2b34cff9c3865856776e37071a1a6a3086f09 /cat/CMakeLists.txt | |
parent | 359f8c0a359884c24d848b52cad6cf4bd13282b8 (diff) | |
download | libarchive-15bcb6785945ee51218ee70a1ceaac595891b943.tar.gz |
Fix build failure on Windows.
- Visual Studio does not provide unistd.h
- Visual Studio does not provide getopt
- Increase portability
Diffstat (limited to 'cat/CMakeLists.txt')
-rw-r--r-- | cat/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cat/CMakeLists.txt b/cat/CMakeLists.txt index 3eaf78fa..48bf0a63 100644 --- a/cat/CMakeLists.txt +++ b/cat/CMakeLists.txt @@ -8,6 +8,8 @@ IF(ENABLE_CAT) SET(bsdcat_SOURCES bsdcat.c bsdcat.h + bsdcat_platform.h + cmdline.c ../libarchive_fe/err.c ../libarchive_fe/err.h ../libarchive_fe/lafe_platform.h |