diff options
author | Guido van Rossum <guido@python.org> | 1996-08-29 18:10:30 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1996-08-29 18:10:30 (GMT) |
commit | 927f6e68fba6c55d2c5bf861c74c1eb2380bfcf8 (patch) | |
tree | 301909a8b39b971ca478137ed8458adbd2395bbb | |
parent | bae29713ec7395396463bfd7981eab392c510fe6 (diff) | |
download | cpython-927f6e68fba6c55d2c5bf861c74c1eb2380bfcf8.zip cpython-927f6e68fba6c55d2c5bf861c74c1eb2380bfcf8.tar.gz cpython-927f6e68fba6c55d2c5bf861c74c1eb2380bfcf8.tar.bz2 |
Needed more includes...
-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 5198e25..d21a0bc 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) |