From: Guido van Rossum Date: Thu, 29 Aug 1996 18:10:30 +0000 (+0000) Subject: Needed more includes... X-Git-Tag: v1.4~330 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=927f6e68fba6c55d2c5bf861c74c1eb2380bfcf8;p=thirdparty%2FPython%2Fcpython.git Needed more includes... --- diff --git a/Python/strdup.c b/Python/strdup.c index 5198e25e0877..d21a0bc9ec24 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 +#include "myproto.h" +#include "mymalloc.h" -#ifdef HAVE_STDLIB_H -#include -#else -extern ANY *malloc Py_PROTO((size_t)); -#endif +#include char * strdup(str)