Fix clang -Wtypedef-redefinition

Include my_global.h before mysql.h so that the latter will not
redefine my_socket and my_ulonglong.

Fixup for commit 77c184df7c056da7364e606ac977cc2d3cd826ad
This commit is contained in:
Marko Mäkelä 2022-03-15 12:57:39 +02:00
parent e67d46e4a1
commit de4ec44b4f

View File

@ -15,6 +15,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */
#include <my_global.h>
#include <config_auth_pam.h>
#include <unistd.h>
#include <string.h>
@ -22,7 +23,6 @@
#include <sys/wait.h>
#include <mysql/plugin_auth.h>
#include "auth_pam_tool.h"
#include <my_global.h>
#ifndef DBUG_OFF
static char pam_debug = 0;