Fix the build for systems without a system wide sqlite lubrary
This commit is contained in:
parent
f492f9bf6e
commit
484f1da20e
1 changed files with 6 additions and 1 deletions
|
@ -1,6 +1,5 @@
|
|||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <sqlite3.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
|
@ -9,6 +8,12 @@
|
|||
#include <simgear/structure/exception.hxx>
|
||||
#include <simgear/debug/logstream.hxx>
|
||||
|
||||
#ifdef SYSTEM_SQLITE
|
||||
#include "sqlite3.h"
|
||||
#else
|
||||
#include "fg_sqlite3.h"
|
||||
#endif
|
||||
|
||||
// Ghost types
|
||||
struct DBGhost { sqlite3* db; };
|
||||
struct StmtGhost { sqlite3_stmt* stmt; };
|
||||
|
|
Loading…
Add table
Reference in a new issue