summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/pam_usb/files/pam_usb-0.5.0-openpam.patch')
-rw-r--r--sys-auth/pam_usb/files/pam_usb-0.5.0-openpam.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-auth/pam_usb/files/pam_usb-0.5.0-openpam.patch b/sys-auth/pam_usb/files/pam_usb-0.5.0-openpam.patch
new file mode 100644
index 000000000000..d5493d67a130
--- /dev/null
+++ b/sys-auth/pam_usb/files/pam_usb-0.5.0-openpam.patch
@@ -0,0 +1,16 @@
+--- src/pam.c
++++ src/pam.c
+@@ -16,8 +16,12 @@
+ */
+
+ #define PAM_SM_AUTH
++
++#include <stdlib.h>
++#include <string.h>
++
+ #include <security/pam_modules.h>
+-#include <security/_pam_macros.h>
++#include <security/pam_appl.h>
+
+ #include "version.h"
+ #include "conf.h"