summaryrefslogtreecommitdiffstats
path: root/plugin/auth_pam
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/auth_pam')
-rw-r--r--plugin/auth_pam/auth_pam.c1
-rw-r--r--plugin/auth_pam/testing/pam_mariadb_mtr.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/plugin/auth_pam/auth_pam.c b/plugin/auth_pam/auth_pam.c
index ffcfa019..86220f48 100644
--- a/plugin/auth_pam/auth_pam.c
+++ b/plugin/auth_pam/auth_pam.c
@@ -22,6 +22,7 @@
#include <sys/types.h>
#include <sys/wait.h>
#include <spawn.h>
+#include <my_global.h>
#include <mysql/plugin_auth.h>
#include "auth_pam_tool.h"
diff --git a/plugin/auth_pam/testing/pam_mariadb_mtr.c b/plugin/auth_pam/testing/pam_mariadb_mtr.c
index 108aeb94..de34f5d8 100644
--- a/plugin/auth_pam/testing/pam_mariadb_mtr.c
+++ b/plugin/auth_pam/testing/pam_mariadb_mtr.c
@@ -10,8 +10,8 @@
#include <stdlib.h>
#include <string.h>
-#include <security/pam_modules.h>
#include <security/pam_appl.h>
+#include <security/pam_modules.h>
#define N 3