aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordan <dan@noemail.net>2013-05-02 17:37:31 +0000
committerdan <dan@noemail.net>2013-05-02 17:37:31 +0000
commit32c12fe2bb8e4405db53918204d192760655e51a (patch)
tree67d559efc1c157d6b74ca41f797e377a09a26fd7 /src/os_unix.c
parenta309552e2cc3aa3de14c7fd5a6110375d4efb43d (diff)
downloadsqlite-32c12fe2bb8e4405db53918204d192760655e51a.tar.gz
sqlite-32c12fe2bb8e4405db53918204d192760655e51a.zip
Minor fixes for compilation with SQLITE_OMIT_WAL defined.
FossilOrigin-Name: b81e87e72b976e7157a53a50abc5422e2a6c4c39
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 007441241..6eed67407 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -126,7 +126,7 @@
#include <time.h>
#include <sys/time.h>
#include <errno.h>
-#ifndef SQLITE_OMIT_WAL
+#if !defined(SQLITE_OMIT_WAL) || SQLITE_MAX_MMAP_SIZE>0
#include <sys/mman.h>
#endif