From: Michihiro NAKAJIMA Date: Sun, 12 Oct 2014 05:06:34 +0000 (+0900) Subject: Include stdlib.h to avoid build failure on Windows. X-Git-Tag: v3.1.900a~185 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1aafbf82e239e1ee5aab187d443753e63516d21;p=thirdparty%2Flibarchive.git Include stdlib.h to avoid build failure on Windows. --- diff --git a/libarchive_fe/passphrase.c b/libarchive_fe/passphrase.c index 90d6f1b2f..0fe630e7e 100644 --- a/libarchive_fe/passphrase.c +++ b/libarchive_fe/passphrase.c @@ -51,6 +51,9 @@ __FBSDID("$FreeBSD$"); #include +#ifdef HAVE_STDLIB_H +#include +#endif #ifdef HAVE_UNISTD_H #include #endif