[Python-checkins] CVS: python/dist/src/Modules pypcre.c,2.22,2.22.26.1

Michael Hudson mwh@users.sourceforge.net
Sat, 16 Mar 2002 09:58:23 -0800


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv22406

Modified Files:
      Tag: release22-maint
	pypcre.c 
Log Message:
backport loewis' checkin of
    revision 2.23 of pypcre.c

Include Python.h first. Fixes #530159.


Index: pypcre.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/pypcre.c,v
retrieving revision 2.22
retrieving revision 2.22.26.1
diff -C2 -d -r2.22 -r2.22.26.1
*** pypcre.c	2 Aug 2000 13:41:18 -0000	2.22
--- pypcre.c	16 Mar 2002 17:58:21 -0000	2.22.26.1
***************
*** 46,51 ****
  
  #define FOR_PYTHON
- #include "pcre-int.h"
  #include "Python.h"
  #include <ctype.h>
  #include "graminit.h"
--- 46,51 ----
  
  #define FOR_PYTHON
  #include "Python.h"
+ #include "pcre-int.h"
  #include <ctype.h>
  #include "graminit.h"