diff --git a/sqlite3.go b/sqlite3.go index 545064c..f60c628 100644 --- a/sqlite3.go +++ b/sqlite3.go @@ -26,6 +26,7 @@ package sqlite3 #cgo openbsd LDFLAGS: -L/usr/local/lib #ifndef USE_LIBSQLITE3 #include "amalgamation/sqlite3-binding.h" +#include "amalgamation/sqlite3-binding.c" #else #include #endif diff --git a/sqlite3_opt_unlock_notify.go b/sqlite3_opt_unlock_notify.go index effeb90..1b0b648 100644 --- a/sqlite3_opt_unlock_notify.go +++ b/sqlite3_opt_unlock_notify.go @@ -13,6 +13,7 @@ package sqlite3 #include #include "amalgamation/sqlite3-binding.h" +#include "amalgamation/sqlite3_opt_unlock_notify.c" extern void unlock_notify_callback(void *arg, int argc); */