summaryrefslogtreecommitdiff
path: root/security/krb5-appl/files/patch-lib::gssapi::krb5::import_name.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2005-11-08 18:51:23 +0000
committerCy Schubert <cy@FreeBSD.org>2005-11-08 18:51:23 +0000
commit34e9c28ad3284b476391c3b3f2cf22a26c4bb794 (patch)
tree3015fe41af55de6573dd1788c76c3ee295940f05 /security/krb5-appl/files/patch-lib::gssapi::krb5::import_name.c
parentFix build and respect CFLAGS (diff)
Fix FreeBSD-4.11 build problem
PR: 87888
Notes
Notes: svn path=/head/; revision=147618
Diffstat (limited to 'security/krb5-appl/files/patch-lib::gssapi::krb5::import_name.c')
-rw-r--r--security/krb5-appl/files/patch-lib::gssapi::krb5::import_name.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/security/krb5-appl/files/patch-lib::gssapi::krb5::import_name.c b/security/krb5-appl/files/patch-lib::gssapi::krb5::import_name.c
new file mode 100644
index 000000000000..40f116af2196
--- /dev/null
+++ b/security/krb5-appl/files/patch-lib::gssapi::krb5::import_name.c
@@ -0,0 +1,14 @@
+--- lib/gssapi/krb5/import_name.c.orig Mon Jul 18 15:12:42 2005
++++ lib/gssapi/krb5/import_name.c Tue Nov 8 09:53:58 2005
+@@ -33,6 +33,11 @@
+ #endif
+ #endif
+
++#include <sys/param.h>
++#if __FreeBSD_version < 500100
++#include <stdio.h>
++#endif
++
+ #ifdef HAVE_STRING_H
+ #include <string.h>
+ #else