Always include sys/mman.h for android builds

This commit is contained in:
Jeremy Lakeman 2017-04-10 14:54:43 +09:30
parent 1e70c8fe53
commit f06d9bb574

View File

@ -22,6 +22,7 @@
#ifndef SQLITE_PRIVATE
# define SQLITE_PRIVATE static
#endif
#include <sys/mman.h>
/************** Begin file sqliteInt.h ***************************************/
/*
** 2001 September 15
@ -29221,9 +29222,6 @@ SQLITE_PRIVATE const char *sqlite3OpcodeName(int i){
/* #include <time.h> */
#include <sys/time.h>
#include <errno.h>
#if !defined(SQLITE_OMIT_WAL) || SQLITE_MAX_MMAP_SIZE>0
# include <sys/mman.h>
#endif
#if SQLITE_ENABLE_LOCKING_STYLE
# include <sys/ioctl.h>