Permalink
Browse files

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

  • Loading branch information...
1 parent b9bdd42 commit aef0766287bbcd68760ade7cb53966c0a146adff Unknown committed Dec 22, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/os_unix.c
View
@@ -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>

0 comments on commit aef0766

Please sign in to comment.