From de4ec44b4fcba84444d55f18e153df603da67a2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Tue, 15 Mar 2022 12:57:39 +0200 Subject: [PATCH] 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 --- plugin/auth_pam/auth_pam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 #include #include #include @@ -22,7 +23,6 @@ #include #include #include "auth_pam_tool.h" -#include #ifndef DBUG_OFF static char pam_debug = 0;