commit | 927f6e68fba6c55d2c5bf861c74c1eb2380bfcf8 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Aug 29 18:10:30 1996 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Aug 29 18:10:30 1996 +0000 |
tree | 301909a8b39b971ca478137ed8458adbd2395bbb | |
parent | bae29713ec7395396463bfd7981eab392c510fe6 [diff] |
Needed more includes...
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)