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
This commit is contained in:
Elliott Hughes 2015-07-29 19:58:57 -07:00
parent a6597598a0
commit bb50a393ff

View file

@ -22,6 +22,7 @@
#include <stdint.h>
#include <string.h>
#include <sys/cdefs.h>
#include <sys/types.h>
#include <utils/Compat.h>