diff options
author | drh <drh@noemail.net> | 2010-03-05 13:53:22 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2010-03-05 13:53:22 +0000 |
commit | f8b4d8c682ecc60197c9c3f5e76f55a3beda9981 (patch) | |
tree | f01bb335f5f9c35a32b6d41713a93961d88439c6 /src/os_unix.c | |
parent | 84a2bf67d8d332fd48795de37fa1470899284ce6 (diff) | |
download | sqlite-f8b4d8c682ecc60197c9c3f5e76f55a3beda9981.tar.gz sqlite-f8b4d8c682ecc60197c9c3f5e76f55a3beda9981.zip |
Adjustments to #ifdefs so that the #include of <sys/mount.h> is not included
twice, because that confuses the amalgamation builder.
FossilOrigin-Name: 27413fc8dd52b754b4be9344a66bb9e0d752d48e
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index e4bc1dec9..769e75df3 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -128,11 +128,10 @@ # else # include <sys/file.h> # include <sys/param.h> -# include <sys/mount.h> # endif #endif /* SQLITE_ENABLE_LOCKING_STYLE */ -#if defined(__APPLE__) +#if defined(__APPLE__) || (SQLITE_ENABLE_LOCKING_STYLE && !OS_VXWORKS) # include <sys/mount.h> #endif |