]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
k5-int.h: Always include stdlib.h and string.h; don't bother with HAVE_ macros
authorKen Raeburn <raeburn@mit.edu>
Sat, 14 Apr 2001 03:14:44 +0000 (03:14 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 14 Apr 2001 03:14:44 +0000 (03:14 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13178 dc483132-0cff-0310-8789-dd5450dbe970

src/include/ChangeLog
src/include/k5-int.h

index d706ea29fa56f255a08a6c655cd797001e96b58a..6d02de85732a58f0d4c1cc15224db26f759ce824 100644 (file)
@@ -1,3 +1,8 @@
+2001-04-13  Ken Raeburn  <raeburn@mit.edu>
+
+       * k5-int.h: Always include stdlib.h and string.h; don't bother
+       testing the HAVE_ macros.
+
 2001-03-08 Ezra Peisach  <epeisach@mit.edu>
 
        * krb5.hin: Add prototypes for krb5_auth_con_setpermetypes() and
index bd6423ab294559a6405d0e37c47c8b098f0ba620..d2976a4888b6fd0a9325e212680338227df9422a 100644 (file)
@@ -416,22 +416,8 @@ typedef struct _krb5_sam_response {
 #ifndef KRB5_EXT_PROTO__
 #define KRB5_EXT_PROTO__
 
-#ifdef HAVE_STDLIB_H
 #include <stdlib.h>
-#else
-#if defined(__STDC__) || defined(_MSDOS)
-#include <fake-stdlib.h>
-#else
-extern char *malloc(), *realloc(), *calloc();
-extern char *getenv();
-#endif /* ! __STDC__ */
-#endif /* HAVE_STDLIB_H */
-
-#ifdef HAVE_STRING_H
 #include <string.h>
-#else
-#include <strings.h>
-#endif
 
 #ifndef HAVE_STRDUP
 extern char *strdup (const char *);