summaryrefslogtreecommitdiff
path: root/lib/libarchive/archive_string.h
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@FreeBSD.org>2006-11-10 06:39:46 +0000
committerTim Kientzle <kientzle@FreeBSD.org>2006-11-10 06:39:46 +0000
commitaa1eeda578151e40c41ef39dd198979d4bae29a5 (patch)
treef89881956f7ca553a6834444961e2cb90388cc29 /lib/libarchive/archive_string.h
parentc25789cc22feeabda3263de28be3fdba48401e05 (diff)
Notes
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 c9d1c004b025..4012d4a4af4c 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."