mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
Needed more includes...
This commit is contained in:
parent
bae29713ec
commit
927f6e68fb
1 changed files with 3 additions and 6 deletions
|
|
@ -1,13 +1,10 @@
|
||||||
/* strdup() replacement (from stdwin, if you must know) */
|
/* strdup() replacement (from stdwin, if you must know) */
|
||||||
|
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <string.h>
|
#include "myproto.h"
|
||||||
|
#include "mymalloc.h"
|
||||||
|
|
||||||
#ifdef HAVE_STDLIB_H
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
|
||||||
#else
|
|
||||||
extern ANY *malloc Py_PROTO((size_t));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
char *
|
char *
|
||||||
strdup(str)
|
strdup(str)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue