pkgsrc/security/mit-krb5/patches/patch-al
2006-03-17 15:44:45 +00:00

20 lines
410 B
Text

$NetBSD: patch-al,v 1.4 2006/03/17 15:44:46 joerg Exp $
--- lib/gssapi/krb5/import_name.c.orig 2005-07-18 22:12:42.000000000 +0000
+++ 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