summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorJohn Carr <jfc@mit.edu>1991-05-27 22:04:39 +0000
committerJohn Carr <jfc@mit.edu>1991-05-27 22:04:39 +0000
commit886bd9276ec2b73d7f17d9553618c39d804e439a (patch)
tree2fc9883704eea01b5dffa13da16d091680260df2 /src/include
parentee49392ad77351ad53852862fc970358e9a02abc (diff)
downloadkrb5-886bd9276ec2b73d7f17d9553618c39d804e439a.tar.gz
krb5-886bd9276ec2b73d7f17d9553618c39d804e439a.tar.xz
krb5-886bd9276ec2b73d7f17d9553618c39d804e439a.zip
Allow machine config file to force <stdlib.h> to be included
unconditionally. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2115 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/ext-proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/krb5/ext-proto.h b/src/include/krb5/ext-proto.h
index 120e2c1fe..9bdf85f7f 100644
--- a/src/include/krb5/ext-proto.h
+++ b/src/include/krb5/ext-proto.h
@@ -16,6 +16,9 @@
#ifndef KRB5_EXT_PROTO__
#define KRB5_EXT_PROTO__
+#ifdef HAS_STDLIB_H
+#include <stdlib.h>
+#else
#ifdef __STDC__
#ifdef NO_STDLIB_H
#include <fake-stdlib.h>
@@ -26,6 +29,7 @@
extern char *malloc(), *realloc(), *calloc();
extern char *getenv();
#endif /* ! __STDC__ */
+#endif /* HAS_STDLIB_H */
#ifdef USE_STRING_H
#include <string.h>