summaryrefslogtreecommitdiff
path: root/lib/SQL.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/SQL.cc')
-rw-r--r--lib/SQL.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/SQL.cc b/lib/SQL.cc
index e158904..26620e4 100644
--- a/lib/SQL.cc
+++ b/lib/SQL.cc
@@ -1,3 +1,9 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#ifdef HAVE_MYSQL
+
#include "SQL.h"
SQLConnection::SQLConnection(String host, String user, String passwd,
@@ -66,3 +72,5 @@ AssocArray SQLConnection::fetchrow() {
return r;
}
+
+#endif