projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
906b476
)
Include stdlib.h or declare malloc, calloc, realloc
author
Ezra Peisach
<epeisach@mit.edu>
Wed, 24 May 1995 11:18:41 +0000
(11:18 +0000)
committer
Ezra Peisach
<epeisach@mit.edu>
Wed, 24 May 1995 11:18:41 +0000
(11:18 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5858
dc483132
-0cff-0310-8789-
dd5450dbe970
src/kadmin.old/kpasswd/networked.c
patch
|
blob
|
history
diff --git
a/src/kadmin.old/kpasswd/networked.c
b/src/kadmin.old/kpasswd/networked.c
index e70e6f83f3d14d4e74da214e79f1951e7703577a..be2aa8491e4205f87def936bf086c00c4efe2766 100644
(file)
--- a/
src/kadmin.old/kpasswd/networked.c
+++ b/
src/kadmin.old/kpasswd/networked.c
@@
-46,6
+46,12
@@
#include <utmp.h>
#include <pwd.h>
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#else
+extern char *malloc(), *calloc(), *realloc();
+#endif
+
#ifndef MAXHOSTNAME
#define MAXHOSTNAME 64
#endif