aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2017-06-24 16:35:00 +0000
committerdrh <drh@noemail.net>2017-06-24 16:35:00 +0000
commit7f2d1cd2b0c2583c5a472982701b66d97c4528d0 (patch)
treedb762ec886e69e1851160ecaf92693b639a6689f /src/sqliteInt.h
parent54ac445d53512b3215ed41f8594815a46f9005cc (diff)
downloadsqlite-7f2d1cd2b0c2583c5a472982701b66d97c4528d0.tar.gz
sqlite-7f2d1cd2b0c2583c5a472982701b66d97c4528d0.zip
Make sure the config.h header is included by ctime.c, if that header exists.
FossilOrigin-Name: c2ea62937ec8fabec72d3c7cd38d8e2cabbb5ce48638f8ce7ebefd6cd2716fd3
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 89cb8c33e..ee83a511f 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -178,8 +178,9 @@
** Include the configuration header output by 'configure' if we're using the
** autoconf-based build
*/
-#ifdef _HAVE_SQLITE_CONFIG_H
+#if defined(_HAVE_SQLITE_CONFIG_H) && !defined(SQLITECONFIG_H)
#include "config.h"
+#define SQLITECONFIG_H 1
#endif
#include "sqliteLimit.h"