]> jfr.im git - irc/quakenet/newserv.git/commitdiff
Fix warnings.
authorChris Porter <redacted>
Fri, 29 Feb 2008 01:33:10 +0000 (01:33 +0000)
committerChris Porter <redacted>
Fri, 29 Feb 2008 01:33:10 +0000 (01:33 +0000)
lua/luadb.c
trojanscan/trojanscan.c

index 2bf01aea20a4211bd45e02965b29272a9eb303f9..39218edcac62947ecf0aea1ecafa37a011014d24 100644 (file)
@@ -1,6 +1,6 @@
-#include "../pqsql/pqsql.h"
 #include "lua.h"
 #include "luabot.h"
+#include "../pqsql/pqsql.h"
 
 static int lua_dbcreatequery(lua_State *ps) {
   char *s = (char *)lua_tostring(ps, 1);
index 52c28c9159e7b46abffa66ce99bcec4781de1295..309b50d3103766fa47e4fc7ae3fd230b041ab804 100644 (file)
@@ -14,6 +14,7 @@
 #include "trojanscan.h"
 #include "../lib/strlfunc.h"
 #include "../lib/version.h"
+#include "../core/nsmalloc.h"
 
 #define tmalloc(x)     nsmalloc(POOL_TROJANSCAN, x)
 #define tfree(x)       nsfree(POOL_TROJANSCAN, x)