1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Do not include <sys/mmap.h> if SQLITE_OMIT_WAL is defined.

FossilOrigin-Name: b82e85ece94c8e25c1dc3251f5444a295fbf8c89
This commit is contained in:
drh
2010-12-22 21:48:50 +00:00
parent 2a58e9cc32
commit b469f46083
3 changed files with 12 additions and 10 deletions

View File

@@ -119,7 +119,9 @@
#include <time.h>
#include <sys/time.h>
#include <errno.h>
#ifndef SQLITE_OMIT_WAL
#include <sys/mman.h>
#endif
#if SQLITE_ENABLE_LOCKING_STYLE
# include <sys/ioctl.h>