aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/cyrus-sasl/files/patch-plugins::gssapi.c15
-rw-r--r--security/cyrus-sasl2/files/patch-plugins::gssapi.c15
2 files changed, 30 insertions, 0 deletions
diff --git a/security/cyrus-sasl/files/patch-plugins::gssapi.c b/security/cyrus-sasl/files/patch-plugins::gssapi.c
new file mode 100644
index 000000000000..02273633a299
--- /dev/null
+++ b/security/cyrus-sasl/files/patch-plugins::gssapi.c
@@ -0,0 +1,15 @@
+--- plugins/gssapi.c.orig Fri Mar 9 23:56:46 2001
++++ plugins/gssapi.c Mon Jan 21 21:03:32 2002
+@@ -71,6 +71,12 @@
+ #include <saslutil.h>
+ #include <saslplug.h>
+
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++
++#include <errno.h>
++
+ #ifdef WIN32
+ /* This must be after sasl.h */
+ # include "saslgssapi.h"
diff --git a/security/cyrus-sasl2/files/patch-plugins::gssapi.c b/security/cyrus-sasl2/files/patch-plugins::gssapi.c
new file mode 100644
index 000000000000..02273633a299
--- /dev/null
+++ b/security/cyrus-sasl2/files/patch-plugins::gssapi.c
@@ -0,0 +1,15 @@
+--- plugins/gssapi.c.orig Fri Mar 9 23:56:46 2001
++++ plugins/gssapi.c Mon Jan 21 21:03:32 2002
+@@ -71,6 +71,12 @@
+ #include <saslutil.h>
+ #include <saslplug.h>
+
++#ifdef HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++
++#include <errno.h>
++
+ #ifdef WIN32
+ /* This must be after sasl.h */
+ # include "saslgssapi.h"