Symbian: libzip buildfix.

This commit is contained in:
Sacha 2013-12-06 05:03:30 +10:00
parent cf165c7862
commit b83fea1b6b
2 changed files with 12 additions and 0 deletions

View File

@ -33,6 +33,7 @@
* SUCH DAMAGE.
*/
#ifndef HAVE_MKSTEMP
#include <sys/types.h>
#include <sys/stat.h>
@ -169,3 +170,5 @@ _zip_mkstemp(char *path)
/*NOTREACHED*/
}
#endif

View File

@ -55,9 +55,18 @@ extern "C" {
#endif
#include <sys/types.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
#ifdef __SYMBIAN32__
#define _stat stat
#define _wcsdup wcsdup
#define _wfopen wfopen
#define _wremove wremove
#define _wstat wstat
#endif
/* flags for zip_open */
#define ZIP_CREATE 1