]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Include stdlib.h to avoid build failure on Windows.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sun, 12 Oct 2014 05:06:34 +0000 (14:06 +0900)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Sun, 12 Oct 2014 05:10:58 +0000 (14:10 +0900)
libarchive_fe/passphrase.c

index 90d6f1b2f627a85dda070eaf0eb0b15d9e3062f5..0fe630e7e602dc22f6a5eb418757bd82b35f6549 100644 (file)
@@ -51,6 +51,9 @@
 __FBSDID("$FreeBSD$");
 
 #include <errno.h>
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif