]> jfr.im git - irc/quakenet/newserv.git/blobdiff - sqlite/sqlite.c
CHANSERV: reduce reason to 15 chars
[irc/quakenet/newserv.git] / sqlite / sqlite.c
index 904ad13d79d05750e54602b39b7a7507a9648456..7b97264244132dd651ef54dc5189666623d80e78 100644 (file)
@@ -7,7 +7,10 @@
 #include <stdarg.h>
 #include <string.h>
 
+#ifndef __USE_POSIX199309
 #define __USE_POSIX199309
+#endif
+
 #include <time.h>
 
 #include "../core/config.h"
@@ -449,3 +452,6 @@ static void dbstatus(int hooknum, void *arg) {
   }
 }
 
+sqlite3 *sqlitegetconn(void) {
+  return conn;
+}