aboutsummaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/fts5/fts5Int.h1
-rw-r--r--ext/rtree/rtree.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/ext/fts5/fts5Int.h b/ext/fts5/fts5Int.h
index 2da347862..7ad1cc16b 100644
--- a/ext/fts5/fts5Int.h
+++ b/ext/fts5/fts5Int.h
@@ -20,6 +20,7 @@ SQLITE_EXTENSION_INIT1
#include <string.h>
#include <assert.h>
+#include <stddef.h>
#ifndef SQLITE_AMALGAMATION
diff --git a/ext/rtree/rtree.c b/ext/rtree/rtree.c
index f90fd5a0a..d8567b65a 100644
--- a/ext/rtree/rtree.c
+++ b/ext/rtree/rtree.c
@@ -64,6 +64,8 @@
#endif
int sqlite3GetToken(const unsigned char*,int*); /* In the SQLite core */
+#include <stddef.h>
+
/*
** If building separately, we will need some setup that is normally
** found in sqliteInt.h