summaryrefslogtreecommitdiffstats
path: root/minzip/Zip.h
diff options
context:
space:
mode:
Diffstat (limited to 'minzip/Zip.h')
-rw-r--r--minzip/Zip.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/minzip/Zip.h b/minzip/Zip.h
index 0b1c9d532..4bb9ef6a4 100644
--- a/minzip/Zip.h
+++ b/minzip/Zip.h
@@ -14,6 +14,10 @@
#include "Hash.h"
#include "SysUtil.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifdef HAVE_SELINUX
#include <selinux/selinux.h>
#include <selinux/label.h>
@@ -218,4 +222,8 @@ bool mzExtractRecursive(const ZipArchive *pArchive,
void (*callback)(const char *fn, void*), void *cookie,
struct selabel_handle *sehnd);
+#ifdef __cplusplus
+}
+#endif
+
#endif /*_MINZIP_ZIP*/