summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1994-10-26 03:55:31 +0000
committerTheodore Tso <tytso@mit.edu>1994-10-26 03:55:31 +0000
commit18b1f3649e0b387a59706013a4dbccdbfa696409 (patch)
tree243846881ff2b870e4321e6a8044d4abf1c6e1c6 /src/include
parent9389ac54ef0d3c4493535a46a7fcbf08060c5eed (diff)
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
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/ChangeLog5
-rw-r--r--src/include/krb5/ext-proto.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog
index 722c6ed642..8d93aedc76 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 6f3e802f61..e916fa0008 100644
--- a/src/include/krb5/ext-proto.h
+++ b/src/include/krb5/ext-proto.h
@@ -49,7 +49,9 @@ extern char *getenv();
#include <strings.h>
#endif
+#ifndef HAS_STRDUP
extern char *strdup PROTOTYPE((const char *));
+#endif
#ifdef HAS_UNISTD_H
#include <unistd.h>