Include MariaDB Connector-C headers first

The MariaDB Connector-C headers that are built by MaxScale must be
included before any system headers.

Fixed code that explicitly included the <mysql.h> header to use the
<maxscale/protocol/mysql.h> wrapper instead.
This commit is contained in:
Markus Mäkelä
2018-02-07 11:41:16 +02:00
parent 6dbec397dc
commit 2181c9d240
3 changed files with 3 additions and 2 deletions

View File

@ -18,13 +18,13 @@
#include <maxscale/cdefs.h>
#include <mysql.h>
#include <openssl/sha.h>
#include <maxscale/config.h>
#include <maxscale/dcb.h>
#include <maxscale/server.h>
#include <maxscale/jansson.h>
#include <maxscale/protocol/mysql.h>
MXS_BEGIN_DECLS