summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/services.h8
-rw-r--r--include/sysconf.h.in19
2 files changed, 12 insertions, 15 deletions
diff --git a/include/services.h b/include/services.h
index 726bc2a7c..4c7ddcb4e 100644
--- a/include/services.h
+++ b/include/services.h
@@ -57,12 +57,12 @@
#ifdef USE_MYSQL
# define MYSQL_WARNING 2
# define MYSQL_ERROR 4
-#ifdef HAVE_MYSQL_MYSQL_H
-# include <mysql.h>
-# include <errmsg.h>
-#else
+#ifdef MYSQL_HEADER_PREFIX
# include <mysql/mysql.h>
# include <mysql/errmsg.h>
+#else
+# include <mysql.h>
+# include <errmsg.h>
#endif
#endif
diff --git a/include/sysconf.h.in b/include/sysconf.h.in
index 326501c5e..5142b6cec 100644
--- a/include/sysconf.h.in
+++ b/include/sysconf.h.in
@@ -30,9 +30,6 @@
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
-/* "We have the mysql Header file" */
-#undef HAVE_MYSQL_MYSQL_H
-
/* Define if you have POSIX threads libraries and header files. */
#undef HAVE_PTHREAD
@@ -96,7 +93,7 @@
/* "First IRCD type" */
#undef IRC_BAHAMUT
-/* "First IRCD type" */
+/* "Frist IRCD type" */
#undef IRC_DREAMFORGE
/* "First IRCD type" */
@@ -105,28 +102,28 @@
/* "First IRCD type" */
#undef IRC_PTLINK
-/* "Second IRCD type" */
+/* "First IRCD type" */
#undef IRC_RAGE2
-/* "Second IRCD type" */
+/* "First IRCD type" */
#undef IRC_ULTIMATE2
-/* "Second IRCD type" */
+/* "First IRCD type" */
#undef IRC_ULTIMATE3
-/* "Second IRCD type" */
+/* "First IRCD type" */
#undef IRC_UNREAL31
-/* "Second IRCD type" */
+/* "First IRCD type" */
#undef IRC_UNREAL32
-/* "Second IRCD type" */
+/* "First IRCD type" */
#undef IRC_VIAGRA
/* "Module dir" */
#undef MODULE_PATH
-/* "mysql.h is in a mysql/ folder" */
+/* "Has mysql/mysql.h" */
#undef MYSQL_HEADER_PREFIX
/* Define to the address where bug reports for this package should be sent. */