diff options
author | Guido van Rossum <guido@python.org> | 1996-08-29 18:10:30 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-08-29 18:10:30 +0000 |
commit | 5902803be14de05c5452d5d80ff7ff5c7f46170c (patch) | |
tree | 169a817745dea000097ffcc3ca02cca06cab04b9 /Python/strdup.c | |
parent | 62bed7a071819c39ae446f990b9d268847237d1d (diff) | |
download | cpython-5902803be14de05c5452d5d80ff7ff5c7f46170c.tar.gz |
Needed more includes...
Diffstat (limited to 'Python/strdup.c')
-rw-r--r-- | Python/strdup.c | 9 |
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) |