diff options
author | kientzle <kientzle@FreeBSD.org> | 2004-07-24 17:50:05 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2004-07-24 17:50:05 +0000 |
commit | f7e00cb8911a0a9ef1c68a5e897fe5f3d1376dbe (patch) | |
tree | 10eb6468a056c1b5f6014a9cc0a4a81dede4374e /lib/libarchive/archive_entry.c | |
parent | 394fd52d6c65e679a60c37a69034a2336e994b21 (diff) | |
download | FreeBSD-src-f7e00cb8911a0a9ef1c68a5e897fe5f3d1376dbe.zip FreeBSD-src-f7e00cb8911a0a9ef1c68a5e897fe5f3d1376dbe.tar.gz |
Use "linux" instead of "LINUX" to control Linux-specific code.
Thanks to: David O'Brien for pointing this out.
Also, add in a few additional portability tweaks and make a few
more things conditional on features (HAVE_XXXX macros) rather
than platform.
Diffstat (limited to 'lib/libarchive/archive_entry.c')
-rw-r--r-- | lib/libarchive/archive_entry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libarchive/archive_entry.c b/lib/libarchive/archive_entry.c index f04fee8..71e950f 100644 --- a/lib/libarchive/archive_entry.c +++ b/lib/libarchive/archive_entry.c @@ -35,7 +35,7 @@ __FBSDID("$FreeBSD$"); #include <string.h> #include <wchar.h> -#ifdef LINUX +#ifdef HAVE_EXT2FS_EXT2_FS_H #include <ext2fs/ext2_fs.h> /* for Linux file flags */ #endif |