diff options
author | Bryan Henderson <bryanh@giraffe.netgate.net> | 1996-11-10 01:20:44 +0000 |
---|---|---|
committer | Bryan Henderson <bryanh@giraffe.netgate.net> | 1996-11-10 01:20:44 +0000 |
commit | 0e5ab3655c6cc9ff024028940879cd71d6058169 (patch) | |
tree | b510a29477c64d06fc9b920aee2f007fa8738269 /src/backend/utils/adt/regexp.c | |
parent | 5d9e25c5ffd11b476c62cc61864bb42c2425858c (diff) | |
download | postgresql-0e5ab3655c6cc9ff024028940879cd71d6058169.tar.gz postgresql-0e5ab3655c6cc9ff024028940879cd71d6058169.zip |
Remove #include <regex.h> so it compiles on systems with GNU regex library.
Diffstat (limited to 'src/backend/utils/adt/regexp.c')
-rw-r--r-- | src/backend/utils/adt/regexp.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/backend/utils/adt/regexp.c b/src/backend/utils/adt/regexp.c index deec436c510..11b85fd9f3e 100644 --- a/src/backend/utils/adt/regexp.c +++ b/src/backend/utils/adt/regexp.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/adt/regexp.c,v 1.4 1996/11/06 10:31:04 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/adt/regexp.c,v 1.5 1996/11/10 01:20:44 bryanh Exp $ * * Alistair Crooks added the code for the regex caching * agc - cached the regular expressions used - there's a good chance @@ -38,13 +38,6 @@ #undef _XOPEN_SOURCE #endif /* DISABLE_XOPEN_NLS */ -#ifndef WIN32 - -#include <sys/types.h> -#include <regex.h> - -#endif /* WIN32 why is this necessary? */ - /* this is the number of cached regular expressions held. */ #ifndef MAX_CACHED_RES #define MAX_CACHED_RES 32 |