summaryrefslogtreecommitdiff
path: root/libarchive_fe/passphrase.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive_fe/passphrase.c')
-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