diff options
| author | 2022-01-26 08:50:29 +0000 | |
|---|---|---|
| committer | 2022-01-26 14:00:58 +0000 | |
| commit | 4fd71323d32500669b3bae395fa91df0e20fe090 (patch) | |
| tree | 3d17fec736d1a9946d2546ee8380df6ef44dd445 /src/modules/extra/m_mysql.cpp | |
| parent | Merge branch 'insp3' into master. (diff) | |
Slim the included headers down more.
Diffstat (limited to 'src/modules/extra/m_mysql.cpp')
| -rw-r--r-- | src/modules/extra/m_mysql.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp index 62d411f7a..d2f3f5c28 100644 --- a/src/modules/extra/m_mysql.cpp +++ b/src/modules/extra/m_mysql.cpp @@ -38,9 +38,12 @@ #include "inspircd.h" -#include <mysql.h> +#include "threadsocket.h" #include "modules/sql.h" +// Needs to be included after inspircd.h to avoid reincluding winsock. +#include <mysql.h> + #ifdef _WIN32 # pragma comment(lib, "mysqlclient.lib") #endif |
