diff options
author | drh <drh@noemail.net> | 2010-03-05 13:41:06 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2010-03-05 13:41:06 +0000 |
commit | 84a2bf67d8d332fd48795de37fa1470899284ce6 (patch) | |
tree | 995fd8fbbf11d5f452b7aaa2a437f2d3c10becd0 /src/os_unix.c | |
parent | 60d4a30453f5a1c67139a23093a0f986504a9f7b (diff) | |
download | sqlite-84a2bf67d8d332fd48795de37fa1470899284ce6.tar.gz sqlite-84a2bf67d8d332fd48795de37fa1470899284ce6.zip |
Adjust some #ifdefs so that the build works on Mac both with and without
SQLITE_ENABLE_LOCKING_STYLE.
FossilOrigin-Name: 0cc981f1ccc2c99b87eb968590ad18b2d3ebf37b
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 0ff696564..e4bc1dec9 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -132,6 +132,10 @@ # endif #endif /* SQLITE_ENABLE_LOCKING_STYLE */ +#if defined(__APPLE__) +# include <sys/mount.h> +#endif + /* ** Allowed values of unixFile.fsFlags */ |