]> granicus.if.org Git - postgresql/commitdiff
Remove #include <regex.h> so it compiles on systems with GNU regex library.
authorBryan Henderson <bryanh@giraffe.netgate.net>
Sun, 10 Nov 1996 01:20:44 +0000 (01:20 +0000)
committerBryan Henderson <bryanh@giraffe.netgate.net>
Sun, 10 Nov 1996 01:20:44 +0000 (01:20 +0000)
src/backend/utils/adt/regexp.c

index deec436c510b87711b242ff66f53068176787063..11b85fd9f3e8479f4f8e8138d604c6587239c46b 100644 (file)
@@ -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
 #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