From 5e2de346259f34e810e646fabe3bfaae8109a24c Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sat, 7 Jun 2008 14:18:58 -0400 Subject: [PATCH] FreeBSD 4.11 doesn't define wchar_t in , so use Thanks to: Jeremy C. Reed SVN-Revision: 108 --- libarchive/archive_string.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libarchive/archive_string.h b/libarchive/archive_string.h index 186e3b8fe..8b8f48e45 100644 --- a/libarchive/archive_string.h +++ b/libarchive/archive_string.h @@ -30,6 +30,9 @@ #define ARCHIVE_STRING_H_INCLUDED #include +#ifdef HAVE_STDLIB_H +#include /* required for wchar_t on some systems */ +#endif #ifdef HAVE_STRING_H #include #endif -- 2.47.3