git://git.jankratochvil.net
/
mdsms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version: 1.5.3 -> 1.5.4cvs
[mdsms.git]
/
strdup.c
diff --git
a/strdup.c
b/strdup.c
index
3bd92a3
..
1dfd7e7
100644
(file)
--- a/
strdup.c
+++ b/
strdup.c
@@
-3,17
+3,14
@@
static char rcsid[] ATTR_UNUSED = "$Id$";
#endif
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 */
/* This part of code is a public domain */
-#i
nclude <string.h>
+#i
fdef HAVE_STDLIB_H
#include <stdlib.h>
#include <stdlib.h>
+#endif
+#ifdef HAVE_STRING_H
+#include <string.h>
+#endif
/* CONFORMING TO SVID 3, BSD 4.3 */
/* CONFORMING TO SVID 3, BSD 4.3 */