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:
parent
b83b8beea9
commit
24e37377fa
1 changed files with 8 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue