1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Adjustments to #ifdefs so that the #include of <sys/mount.h> is not included

twice, because that confuses the amalgamation builder.

FossilOrigin-Name: 27413fc8dd52b754b4be9344a66bb9e0d752d48e
This commit is contained in:
drh
2010-03-05 13:53:22 +00:00
parent 84a2bf67d8
commit f8b4d8c682
3 changed files with 8 additions and 9 deletions

View File

@@ -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