diff options
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 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) |