diff options
author | Michihiro NAKAJIMA <ggcueroad@gmail.com> | 2014-10-12 14:06:34 +0900 |
---|---|---|
committer | Michihiro NAKAJIMA <ggcueroad@gmail.com> | 2014-10-12 14:10:58 +0900 |
commit | b1aafbf82e239e1ee5aab187d443753e63516d21 (patch) | |
tree | 18c5fd16a12133991b2416635caa4b606d821825 /libarchive_fe | |
parent | 15bcb6785945ee51218ee70a1ceaac595891b943 (diff) | |
download | libarchive-b1aafbf82e239e1ee5aab187d443753e63516d21.tar.gz |
Include stdlib.h to avoid build failure on Windows.
Diffstat (limited to 'libarchive_fe')
-rw-r--r-- | libarchive_fe/passphrase.c | 3 |
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 |