1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-23 13:00:34 +02:00

* regex-posix.c: #include <regex.h> conditionally, so the file is

CPP'able (for dependency scanning) even on systems that don't have
a <regex.h> header.
This commit is contained in:
Jim Blandy 1997-05-28 17:02:23 +00:00
parent b83b8beea9
commit 24e37377fa

View file

@ -50,7 +50,15 @@
#include <stdio.h> #include <stdio.h>
#include <sys/types.h> #include <sys/types.h>
/* Supposedly, this file is never compiled unless we know we have
POSIX regular expressions. But we still put this in an #ifdef so
the file is CPP'able (for dependency scanning) even on systems that
don't have a <regex.h> header. */
#ifdef HAVE_REGCOMP
#include <regex.h> #include <regex.h>
#endif
#include "_scm.h" #include "_scm.h"
#include "smob.h" #include "smob.h"
#include "symbols.h" #include "symbols.h"