diff options
author | kientzle <kientzle@FreeBSD.org> | 2005-09-10 22:58:06 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2005-09-10 22:58:06 +0000 |
commit | 9d88c7f7b7004dffafb8e7e5d1d098ed506b015a (patch) | |
tree | 2f58e10266a64d70146a7581d052bf09013f4457 /lib/libarchive/archive_private.h | |
parent | 70f9da67193dd6865f9791384929a04b50f95003 (diff) | |
download | FreeBSD-src-9d88c7f7b7004dffafb8e7e5d1d098ed506b015a.zip FreeBSD-src-9d88c7f7b7004dffafb8e7e5d1d098ed506b015a.tar.gz |
Style issue: Don't include <wchar.h> where it is not actually needed.
(wchar_t is defined in stddef.h, and only two files need more than that.)
Portability: Since the wchar requirements are really quite modest,
it's easy to define basic replacements for wcslen, wcscmp, wcscpy,
etc, for use on systems that lack <wchar.h>. In particular, this allows
libarchive to be used on older OpenBSD systems.
Diffstat (limited to 'lib/libarchive/archive_private.h')
-rw-r--r-- | lib/libarchive/archive_private.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libarchive/archive_private.h b/lib/libarchive/archive_private.h index 0b96180..7c03937 100644 --- a/lib/libarchive/archive_private.h +++ b/lib/libarchive/archive_private.h @@ -29,8 +29,6 @@ #ifndef ARCHIVE_PRIVATE_H_INCLUDED #define ARCHIVE_PRIVATE_H_INCLUDED -#include <wchar.h> - #include "archive.h" #include "archive_string.h" |