Rename 'cvs2cl.pl' to the more common 'cvs2cl'.
[mdsms.git] / strdup.c
index 3bd92a3..1dfd7e7 100644 (file)
--- a/strdup.c
+++ b/strdup.c
@@ -3,17 +3,14 @@
 static char rcsid[] ATTR_UNUSED = "$Id$";
 #endif
 
-/*
- * $Log$
- * Revision 1.1.1.1  1999/05/26 13:06:26  short
- * First alpha release.
- *
- */
-
 /* This part of code is a public domain */
 
-#include <string.h>
+#ifdef HAVE_STDLIB_H
 #include <stdlib.h>
+#endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
 
 /* CONFORMING TO SVID 3, BSD 4.3 */