diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/os_unix.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index ba699632d..edc716c98 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -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> |