summaryrefslogtreecommitdiff
path: root/Modules/regexpr.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-08-08 19:12:37 +0000
committerGuido van Rossum <guido@python.org>1996-08-08 19:12:37 +0000
commit339cfa39d806f212e6913ec08403423acdcf785e (patch)
tree084db49363981db1788bab9a6a0896096207aa1a /Modules/regexpr.c
parentec185bde77b391c4fb3b87b629dd22ad2550bb5a (diff)
downloadcpython-git-339cfa39d806f212e6913ec08403423acdcf785e.tar.gz
Need config.h (for Win etc.)
Diffstat (limited to 'Modules/regexpr.c')
-rw-r--r--Modules/regexpr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/regexpr.c b/Modules/regexpr.c
index 6d6bb0f3be..84f0b9489e 100644
--- a/Modules/regexpr.c
+++ b/Modules/regexpr.c
@@ -24,6 +24,10 @@ from GNU regexp.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h" /* For Win* specific redefinition of printf c.s. */
+#endif
+
#include "myproto.h" /* For PROTO macro --Guido */
#include <stdio.h>