diff --git a/backup.go b/backup.go index e222cc8..ecbb469 100644 --- a/backup.go +++ b/backup.go @@ -7,7 +7,7 @@ package sqlite3 /* #ifndef USE_LIBSQLITE3 -#include +#include "sqlite3-binding.h" #else #include #endif diff --git a/callback.go b/callback.go index c3ce752..b020fe3 100644 --- a/callback.go +++ b/callback.go @@ -12,7 +12,7 @@ package sqlite3 /* #ifndef USE_LIBSQLITE3 -#include +#include "sqlite3-binding.h" #else #include #endif diff --git a/error.go b/error.go index 696281c..58ab252 100644 --- a/error.go +++ b/error.go @@ -7,7 +7,7 @@ package sqlite3 /* #ifndef USE_LIBSQLITE3 -#include +#include "sqlite3-binding.h" #else #include #endif diff --git a/sqlite3.go b/sqlite3.go index b2c524b..6ade8c9 100644 --- a/sqlite3.go +++ b/sqlite3.go @@ -24,7 +24,7 @@ package sqlite3 #cgo openbsd CFLAGS: -I/usr/local/include #cgo openbsd LDFLAGS: -L/usr/local/lib #ifndef USE_LIBSQLITE3 -#include +#include "sqlite3-binding.h" #else #include #endif diff --git a/sqlite3_context.go b/sqlite3_context.go index 90800fe..7c7431d 100644 --- a/sqlite3_context.go +++ b/sqlite3_context.go @@ -8,7 +8,7 @@ package sqlite3 /* #ifndef USE_LIBSQLITE3 -#include +#include "sqlite3-binding.h" #else #include #endif diff --git a/sqlite3_load_extension.go b/sqlite3_load_extension.go index f241819..9433fea 100644 --- a/sqlite3_load_extension.go +++ b/sqlite3_load_extension.go @@ -9,7 +9,7 @@ package sqlite3 /* #ifndef USE_LIBSQLITE3 -#include +#include "sqlite3-binding.h" #else #include #endif diff --git a/sqlite3_opt_preupdate_hook.go b/sqlite3_opt_preupdate_hook.go index db7a666..b2e18bb 100644 --- a/sqlite3_opt_preupdate_hook.go +++ b/sqlite3_opt_preupdate_hook.go @@ -13,7 +13,7 @@ package sqlite3 #cgo LDFLAGS: -lm #ifndef USE_LIBSQLITE3 -#include +#include "sqlite3-binding.h" #else #include #endif diff --git a/sqlite3_opt_unlock_notify.c b/sqlite3_opt_unlock_notify.c index 1af1726..fc37b33 100644 --- a/sqlite3_opt_unlock_notify.c +++ b/sqlite3_opt_unlock_notify.c @@ -5,7 +5,7 @@ #ifdef SQLITE_ENABLE_UNLOCK_NOTIFY #include -#include +#include "sqlite3-binding.h" extern int unlock_notify_wait(sqlite3 *db); diff --git a/sqlite3_opt_unlock_notify.go b/sqlite3_opt_unlock_notify.go index 43f53e8..adfa26c 100644 --- a/sqlite3_opt_unlock_notify.go +++ b/sqlite3_opt_unlock_notify.go @@ -12,7 +12,7 @@ package sqlite3 #cgo CFLAGS: -DSQLITE_ENABLE_UNLOCK_NOTIFY #include -#include +#include "sqlite3-binding.h" extern void unlock_notify_callback(void *arg, int argc); */ diff --git a/sqlite3_opt_userauth.go b/sqlite3_opt_userauth.go index 94203b3..b62b608 100644 --- a/sqlite3_opt_userauth.go +++ b/sqlite3_opt_userauth.go @@ -11,7 +11,7 @@ package sqlite3 #cgo CFLAGS: -DSQLITE_USER_AUTHENTICATION #cgo LDFLAGS: -lm #ifndef USE_LIBSQLITE3 -#include +#include "sqlite3-binding.h" #else #include #endif diff --git a/sqlite3_opt_vtable.go b/sqlite3_opt_vtable.go index 4aae1d1..4a93c46 100644 --- a/sqlite3_opt_vtable.go +++ b/sqlite3_opt_vtable.go @@ -19,7 +19,7 @@ package sqlite3 #cgo CFLAGS: -Wno-deprecated-declarations #ifndef USE_LIBSQLITE3 -#include +#include "sqlite3-binding.h" #else #include #endif diff --git a/sqlite3_trace.go b/sqlite3_trace.go index 4c8d992..56bb914 100644 --- a/sqlite3_trace.go +++ b/sqlite3_trace.go @@ -9,7 +9,7 @@ package sqlite3 /* #ifndef USE_LIBSQLITE3 -#include +#include "sqlite3-binding.h" #else #include #endif diff --git a/sqlite3_type.go b/sqlite3_type.go index 00d403c..0fd8210 100644 --- a/sqlite3_type.go +++ b/sqlite3_type.go @@ -6,7 +6,7 @@ package sqlite3 /* #ifndef USE_LIBSQLITE3 -#include +#include "sqlite3-binding.h" #else #include #endif