]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Needed more includes...
authorGuido van Rossum <guido@python.org>
Thu, 29 Aug 1996 18:10:30 +0000 (18:10 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 29 Aug 1996 18:10:30 +0000 (18:10 +0000)
Python/strdup.c

index 5198e25e087734ed66f121def81af950ad61ea1f..d21a0bc9ec2430e2fc743451270753d361f898ff 100644 (file)
@@ -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)