summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2022-03-15 12:57:39 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2022-03-15 12:57:39 +0200
commitde4ec44b4fcba84444d55f18e153df603da67a2a (patch)
treed9cd7dc720d7e3c9dcb528e11ef2994cc5db8043 /plugin
parente67d46e4a16a6550734dbff8d1a28c578ab3b23d (diff)
downloadmariadb-git-de4ec44b4fcba84444d55f18e153df603da67a2a.tar.gz
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
Diffstat (limited to 'plugin')
-rw-r--r--plugin/auth_pam/auth_pam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/auth_pam/auth_pam.c b/plugin/auth_pam/auth_pam.c
index 35272c6b7cd..12e958b706b 100644
--- a/plugin/auth_pam/auth_pam.c
+++ b/plugin/auth_pam/auth_pam.c
@@ -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;