Needed more includes...

This commit is contained in:
Guido van Rossum 1996-08-29 18:10:30 +00:00
parent bae29713ec
commit 927f6e68fb
1 changed files with 3 additions and 6 deletions

View 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)