Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0e5ab36

Browse files
author
Bryan Henderson
committed
Remove #include <regex.h> so it compiles on systems with GNU regex library.
1 parent 5d9e25c commit 0e5ab36

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/backend/utils/adt/regexp.c

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/regexp.c,v 1.4 1996/11/06 10:31:04 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/regexp.c,v 1.5 1996/11/10 01:20:44 bryanh Exp $
1111
*
1212
* Alistair Crooks added the code for the regex caching
1313
* agc - cached the regular expressions used - there's a good chance
@@ -38,13 +38,6 @@
3838
#undef _XOPEN_SOURCE
3939
#endif /* DISABLE_XOPEN_NLS */
4040

41-
#ifndef WIN32
42-
43-
#include <sys/types.h>
44-
#include <regex.h>
45-
46-
#endif /* WIN32 why is this necessary? */
47-
4841
/* this is the number of cached regular expressions held. */
4942
#ifndef MAX_CACHED_RES
5043
#define MAX_CACHED_RES 32

0 commit comments

Comments
 (0)