summaryrefslogtreecommitdiff
path: root/include/ziparchive/zip_archive.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-07-29 19:58:57 -0700
committerElliott Hughes <enh@google.com>2015-07-29 19:58:57 -0700
commitbb50a393ff2ff08cf8efdf1f385b72f69bb1cfbb (patch)
treea7bbbb19c8d5990bd24ebe2d91a6d50bd27f5396 /include/ziparchive/zip_archive.h
parenta6597598a0b82759960df09fd173192ca8c82f0c (diff)
Fix Win32 <ziparchive/zip_archive.h>.
Contrary to the comment in AndroidConfig.h, mingw does have __BEGIN_DECLS and __END_DECLS; you just have to #include <sys/cdefs.h> first. Which is strictly true normally too, but you're going to get it transitively with bionic or glibc. Change-Id: I2f2de45f56a7217f91df322d8e896280997ae7a0
Diffstat (limited to 'include/ziparchive/zip_archive.h')
-rw-r--r--include/ziparchive/zip_archive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ziparchive/zip_archive.h b/include/ziparchive/zip_archive.h
index 5ef2ab0d7..3591a6beb 100644
--- a/include/ziparchive/zip_archive.h
+++ b/include/ziparchive/zip_archive.h
@@ -22,6 +22,7 @@
#include <stdint.h>
#include <string.h>
+#include <sys/cdefs.h>
#include <sys/types.h>
#include <utils/Compat.h>