summaryrefslogtreecommitdiff
path: root/Python/strdup.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-08-29 18:10:30 +0000
committerGuido van Rossum <guido@python.org>1996-08-29 18:10:30 +0000
commit5902803be14de05c5452d5d80ff7ff5c7f46170c (patch)
tree169a817745dea000097ffcc3ca02cca06cab04b9 /Python/strdup.c
parent62bed7a071819c39ae446f990b9d268847237d1d (diff)
downloadcpython-5902803be14de05c5452d5d80ff7ff5c7f46170c.tar.gz
Needed more includes...
Diffstat (limited to 'Python/strdup.c')
-rw-r--r--Python/strdup.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/Python/strdup.c b/Python/strdup.c
index 5198e25e08..d21a0bc9ec 100644
--- a/Python/strdup.c
+++ b/Python/strdup.c
@@ -1,13 +1,10 @@
/* strdup() replacement (from stdwin, if you must know) */
#include "config.h"
-#include <string.h>
+#include "myproto.h"
+#include "mymalloc.h"
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#else
-extern ANY *malloc Py_PROTO((size_t));
-#endif
+#include <string.h>
char *
strdup(str)