pkgsrc/security/mit-krb5/patches/patch-al

20 lines
418 B
Text

$NetBSD: patch-al,v 1.3 2006/02/24 21:56:40 joerg Exp $
--- src/lib/gssapi/krb5/import_name.c.orig 2005-07-18 22:12:42.000000000 +0000
+++ src/lib/gssapi/krb5/import_name.c
@@ -27,10 +27,15 @@
#include "gssapiP_krb5.h"
#ifndef NO_PASSWORD
+#include <limits.h>
#include <pwd.h>
#ifdef HAVE_GETPWUID_R
#include <stdio.h>
#endif
+
+#ifndef BUFSIZ
+#define BUFSIZ LINE_MAX
+#endif
#endif
#ifdef HAVE_STRING_H