From 0e5ab3655c6cc9ff024028940879cd71d6058169 Mon Sep 17 00:00:00 2001 From: Bryan Henderson <bryanh@giraffe.netgate.net> Date: Sun, 10 Nov 1996 01:20:44 +0000 Subject: [PATCH] Remove #include <regex.h> so it compiles on systems with GNU regex library. --- src/backend/utils/adt/regexp.c | 9 +-------- 1 file changed, 1 insertion(+), 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 -- GitLab