[Patches] Patch to Modules/pcre.h
Jack Jansen
Jack.Jansen@oratrix.com
Fri, 02 Jun 2000 22:59:44 +0200
This is a multi-part message in MIME format.
--------------CE75686B9EBE017773C14352
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Don't include sys/types.h or sys/stat.h if the platform doesn't have it (eg.
Carbon, the MacOS9/MacOSX
combined development layer).
----
I confirm that, to the
best of my knowledge and belief, this
contribution is free of
any claims of third parties under
copyright, patent or
other rights or interests ("claims"). To
the extent that I have
any such claims, I hereby grant to CNRI a
nonexclusive,
irrevocable, royalty-free, worldwide license to
reproduce, distribute,
perform and/or display publicly, prepare
derivative versions, and
otherwise use this contribution as part
of the Python software
and its related documentation, or any
derivative versions
thereof, at no cost to CNRI or its licensed
users, and to authorize
others to do so.
I acknowledge that CNRI
may, at its sole discretion, decide
whether or not to
incorporate this contribution in the Python
software and its related
documentation. I further grant CNRI
permission to use my
name and other identifying information
provided to CNRI by me
for use in connection with the Python
software and its related documentation.
--------------CE75686B9EBE017773C14352
Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="522A6368";
name="pcre.diffs"
Content-Transfer-Encoding: 7bit
Content-Description: Unknown Document
Content-Disposition: inline;
filename="pcre.diffs"
cvs server: Diffing .
Index: pcre.h
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Modules/pcre.h,v
retrieving revision 2.7
diff -c -r2.7 pcre.h
*** pcre.h 1998/05/07 15:32:41 2.7
--- pcre.h 2000/06/02 13:33:19
***************
*** 14,20 ****
--- 14,22 ----
/* Have to include stdlib.h in order to ensure that size_t is defined;
it is needed here for malloc. */
+ #ifndef DONT_HAVE_SYS_TYPES_H
#include <sys/types.h>
+ #endif
#include <stdlib.h>
/* Allow for C++ users */
--------------CE75686B9EBE017773C14352--