summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-04-28 16:10:19 (GMT)
committerGuido van Rossum <guido@python.org>1998-04-28 16:10:19 (GMT)
commit19efc5fb803384043c39e6341fb20a8cea11c3a3 (patch)
tree411b3db601a6bef323cd17ccf047c346fa56fb18
parent5c069fd4b18f0a44e22b995d3bb3be9f4b5572e1 (diff)
downloadcpython-19efc5fb803384043c39e6341fb20a8cea11c3a3.zip
cpython-19efc5fb803384043c39e6341fb20a8cea11c3a3.tar.gz
cpython-19efc5fb803384043c39e6341fb20a8cea11c3a3.tar.bz2
Add a declaration for strdup() for the Mac.
(Jack)
-rw-r--r--Modules/parsermodule.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/parsermodule.c b/Modules/parsermodule.c
index 0c12a07..3de079f 100644
--- a/Modules/parsermodule.c
+++ b/Modules/parsermodule.c
@@ -26,6 +26,9 @@
/* ISTERMINAL() / ISNONTERMINAL() */
#include "compile.h" /* PyNode_Compile() */
+#ifdef macintosh
+char *strdup Py_PROTO((char *));
+#endif
/* String constants used to initialize module attributes.
*