aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/didentd/files/patch-get_info4_freebsd.c10
-rw-r--r--security/didentd/files/patch-get_info6_freebsd.c10
2 files changed, 20 insertions, 0 deletions
diff --git a/security/didentd/files/patch-get_info4_freebsd.c b/security/didentd/files/patch-get_info4_freebsd.c
new file mode 100644
index 000000000000..90a8b511cb81
--- /dev/null
+++ b/security/didentd/files/patch-get_info4_freebsd.c
@@ -0,0 +1,10 @@
+--- get_info4_freebsd.c.orig Sun Oct 14 07:57:15 2001
++++ get_info4_freebsd.c Thu Sep 4 17:00:32 2003
+@@ -7,6 +7,7 @@
+ *
+ */
+
++#define _WANT_UCRED 1
+ #include <sys/param.h>
+ #include <sys/sysctl.h>
+ #include <sys/socket.h>
diff --git a/security/didentd/files/patch-get_info6_freebsd.c b/security/didentd/files/patch-get_info6_freebsd.c
new file mode 100644
index 000000000000..f8ee55748c1e
--- /dev/null
+++ b/security/didentd/files/patch-get_info6_freebsd.c
@@ -0,0 +1,10 @@
+--- get_info6_freebsd.c.orig Fri Oct 12 14:27:48 2001
++++ get_info6_freebsd.c Thu Sep 4 17:01:19 2003
+@@ -10,6 +10,7 @@
+ *
+ */
+
++#define _WANT_UCRED 1
+ #include <unistd.h> /* for close */
+ #include <pwd.h> /* for getpwuid */
+