summaryrefslogtreecommitdiffstats
path: root/src/lib/krb4/kparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/krb4/kparse.c')
-rw-r--r--src/lib/krb4/kparse.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/krb4/kparse.c b/src/lib/krb4/kparse.c
index e0fc20ceb5..198ae1e898 100644
--- a/src/lib/krb4/kparse.c
+++ b/src/lib/krb4/kparse.c
@@ -33,6 +33,7 @@
*/
#include "mit-copyright.h"
+#include "krb.h"
#include <stdio.h>
#include <ctype.h>
#include <kparse.h>
@@ -48,12 +49,14 @@
#define MAXKEY 80
#define MAXVALUE 80
-extern char *malloc();
-
static char *strutol();
+
#ifndef HAVE_STRSAVE
static char *strsave();
#endif
+#ifndef HAS_STDLIB_H
+extern char *malloc();
+#endif
static int sLineNbr=1; /* current line nbr in parameter file */
static char ErrorMsg[80]; /* meaningful only when KV_SYNTAX, PS_SYNTAX,