Allow machine config file to force <stdlib.h> to be included
authorJohn Carr <jfc@mit.edu>
Mon, 27 May 1991 22:04:39 +0000 (22:04 +0000)
committerJohn Carr <jfc@mit.edu>
Mon, 27 May 1991 22:04:39 +0000 (22:04 +0000)
unconditionally.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2115 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/ext-proto.h

index 120e2c1fe3db4a2ede6a9df6a659dfd35bb9f612..9bdf85f7fbdb3aa3fcf3a41edc170f20d9648c82 100644 (file)
@@ -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>