summaryrefslogtreecommitdiff
path: root/libarchive_fe
diff options
context:
space:
mode:
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>2014-10-12 14:06:34 +0900
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>2014-10-12 14:10:58 +0900
commitb1aafbf82e239e1ee5aab187d443753e63516d21 (patch)
tree18c5fd16a12133991b2416635caa4b606d821825 /libarchive_fe
parent15bcb6785945ee51218ee70a1ceaac595891b943 (diff)
downloadlibarchive-b1aafbf82e239e1ee5aab187d443753e63516d21.tar.gz
Include stdlib.h to avoid build failure on Windows.
Diffstat (limited to 'libarchive_fe')
-rw-r--r--libarchive_fe/passphrase.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libarchive_fe/passphrase.c b/libarchive_fe/passphrase.c
index 90d6f1b2..0fe630e7 100644
--- a/libarchive_fe/passphrase.c
+++ b/libarchive_fe/passphrase.c
@@ -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