summaryrefslogtreecommitdiff
path: root/databases/mariadb102-server/files/patch-MDEV-21592
blob: e016af42b5de5b4ebe28f9736496a0fcb8101e69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- plugin/auth_pam/mapper/pam_user_map.c.orig	2020-01-26 20:43:53 UTC
+++ plugin/auth_pam/mapper/pam_user_map.c
@@ -39,7 +39,11 @@ and usually end up in /var/log/secure file.
 #include <grp.h>
 #include <pwd.h>
 
+#ifdef __FreeBSD__
+#include <security/pam_appl.h>
+#else
 #include <security/pam_ext.h>
+#endif
 #include <security/pam_modules.h>
 
 #define FILENAME "/etc/security/user_map.conf"