summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/archive_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libarchive/archive_string.h')
-rw-r--r--lib/libarchive/archive_string.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libarchive/archive_string.h b/lib/libarchive/archive_string.h
index c9d1c00..4012d4a 100644
--- a/lib/libarchive/archive_string.h
+++ b/lib/libarchive/archive_string.h
@@ -31,7 +31,9 @@
#define ARCHIVE_STRING_H_INCLUDED
#include <stdarg.h>
+#ifdef HAVE_STRING_H
#include <string.h>
+#endif
/*
* Basic resizable/reusable string support a la Java's "StringBuffer."
OpenPOWER on IntegriCloud