QNX requires that _FILE_OFFSET_BITS be set prior to any system #include.

FossilOrigin-Name: 953cdd6adadfd46b51ad61d7939cecca154a02cb
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index a6663ff..72fe47b 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -12,7 +12,6 @@
 ** Internal interface definitions for SQLite.
 **
 */
-#include "sqlite3.h"
 #ifndef _SQLITEINT_H_
 #define _SQLITEINT_H_
 
@@ -48,6 +47,11 @@
 # define _LARGEFILE_SOURCE 1
 #endif
 
+/* The public SQLite interface.  The _FILE_OFFSET_BITS macro must appear
+** first in QNX.
+*/
+#include "sqlite3.h"
+
 /*
 ** Include the configuration header output by 'configure' if we're using the
 ** autoconf-based build