Add files from parent branch HEAD:
[pkgsrc.git] / security / mit-krb5 / patches / patch-al
1 $NetBSD: patch-al,v 1.3 2006/02/24 21:56:40 joerg Exp $
2
3 --- lib/gssapi/krb5/import_name.c.orig  2005-07-18 22:12:42.000000000 +0000
4 +++ lib/gssapi/krb5/import_name.c
5 @@ -27,10 +27,15 @@
6  #include "gssapiP_krb5.h"
7  
8  #ifndef NO_PASSWORD
9 +#include <limits.h>
10  #include <pwd.h>
11  #ifdef HAVE_GETPWUID_R
12  #include <stdio.h>
13  #endif
14 +
15 +#ifndef BUFSIZ
16 +#define BUFSIZ LINE_MAX
17 +#endif
18  #endif
19  
20  #ifdef HAVE_STRING_H