diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c index 6c885dfbe54..75b929beb08 100644 --- a/Modules/parsermodule.c +++ b/Modules/parsermodule.c @@ -26,6 +26,9 @@ /* ISTERMINAL() / ISNONTERMINAL() */ #include "compile.h" /* PyNode_Compile() */ +#ifndef MS_WINDOWS +char *strdup(); +#endif /* String constants used to initialize module attributes. *