summaryrefslogtreecommitdiff
path: root/libguile/regex-posix.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@red-bean.com>1997-05-29 02:20:10 +0000
committerJim Blandy <jimb@red-bean.com>1997-05-29 02:20:10 +0000
commit69e0587b1c87651a413cb1a8db9a35d8efa6a956 (patch)
tree1b800d958022c737d502dcf0d95896da329737e7 /libguile/regex-posix.c
parent1e5afba02b39c1e438a92f7a902da25e71396666 (diff)
downloadguile-69e0587b1c87651a413cb1a8db9a35d8efa6a956.tar.gz
* regex-posix.c: #include "_scm.h" before conditionally #including
<regex.h>; the former defines HAVE_REGCOMP.
Diffstat (limited to 'libguile/regex-posix.c')
-rw-r--r--libguile/regex-posix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libguile/regex-posix.c b/libguile/regex-posix.c
index 859d5a359..fe52f828e 100644
--- a/libguile/regex-posix.c
+++ b/libguile/regex-posix.c
@@ -51,6 +51,8 @@
#include <stdio.h>
#include <sys/types.h>
+#include "_scm.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
@@ -59,7 +61,6 @@
#include <regex.h>
#endif
-#include "_scm.h"
#include "smob.h"
#include "symbols.h"
#include "vectors.h"