summaryrefslogtreecommitdiff
path: root/debian/patches-applied/sys-types-include.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches-applied/sys-types-include.patch')
-rw-r--r--debian/patches-applied/sys-types-include.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches-applied/sys-types-include.patch b/debian/patches-applied/sys-types-include.patch
new file mode 100644
index 00000000..fbcb70d3
--- /dev/null
+++ b/debian/patches-applied/sys-types-include.patch
@@ -0,0 +1,21 @@
+Patch for Debian bug #556203
+
+pam_modutil.h should include sys/types.h, so that it stands alone without
+callers having to do additional busywork.
+
+Authors: Russ Allbery <rra@debian.org>
+
+Upstream status: not yet submitted
+
+Index: pam.debian/libpam/include/security/pam_modutil.h
+===================================================================
+--- pam.debian.orig/libpam/include/security/pam_modutil.h
++++ pam.debian/libpam/include/security/pam_modutil.h
+@@ -51,6 +51,7 @@
+ extern "C" {
+ #endif
+
++#include <sys/types.h>
+ #include <security/_pam_types.h>
+
+ extern struct passwd * PAM_NONNULL((1,2))