From 18b1f3649e0b387a59706013a4dbccdbfa696409 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Wed, 26 Oct 1994 03:55:31 +0000 Subject: [PATCH] If the header files have strdup, don't try to redefine it git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4574 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/ChangeLog | 5 +++++ src/include/krb5/ext-proto.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog index 722c6ed64..8d93aedc7 100644 --- a/src/include/krb5/ChangeLog +++ b/src/include/krb5/ChangeLog @@ -1,3 +1,8 @@ +Tue Oct 25 23:54:25 1994 Theodore Y. Ts'o (tytso@dcl) + + * ext-proto.h (strdup): If the header files have strdup, don't try + to redefine it. + Fri Oct 14 00:40:01 1994 Theodore Y. Ts'o (tytso@dcl) * mit-des.h: Add declaration for krb5_des_md5_cst_entry. diff --git a/src/include/krb5/ext-proto.h b/src/include/krb5/ext-proto.h index 6f3e802f6..e916fa000 100644 --- a/src/include/krb5/ext-proto.h +++ b/src/include/krb5/ext-proto.h @@ -49,7 +49,9 @@ extern char *getenv(); #include #endif +#ifndef HAS_STRDUP extern char *strdup PROTOTYPE((const char *)); +#endif #ifdef HAS_UNISTD_H #include -- 2.26.2