Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit aef0766287bbcd68760ade7cb53966c0a146adff 1 parent b9bdd42
Unknown authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  src/os_unix.c
View
2  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>
Please sign in to comment.
Something went wrong with that request. Please try again.