diff options
author | kientzle <kientzle@FreeBSD.org> | 2008-06-15 05:11:08 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2008-06-15 05:11:08 +0000 |
commit | 29dd909508ca68224d19fd51a560d29da2613e4a (patch) | |
tree | a07cb4c2dfa626cc0bec85a8f4b89567adb8715c /lib/libarchive | |
parent | d71aa746dd9d4d1063a7e1bb3b60026848812b45 (diff) | |
download | FreeBSD-src-29dd909508ca68224d19fd51a560d29da2613e4a.zip FreeBSD-src-29dd909508ca68224d19fd51a560d29da2613e4a.tar.gz |
Portability: wchar_t is defined in stdlib.h on some systems.
Diffstat (limited to 'lib/libarchive')
-rw-r--r-- | lib/libarchive/archive_string.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libarchive/archive_string.h b/lib/libarchive/archive_string.h index 84f3669..819be75 100644 --- a/lib/libarchive/archive_string.h +++ b/lib/libarchive/archive_string.h @@ -30,6 +30,9 @@ #define ARCHIVE_STRING_H_INCLUDED #include <stdarg.h> +#ifdef HAVE_STDLIB_H +#include <stdlib.h> /* required for wchar_t on some systems */ +#endif #ifdef HAVE_STRING_H #include <string.h> #endif |