summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjraynard <jraynard@FreeBSD.org>1997-10-18 13:12:39 +0000
committerjraynard <jraynard@FreeBSD.org>1997-10-18 13:12:39 +0000
commitd63eb3bcaadd5388e8611f6afa7850ade7df9b60 (patch)
treeae489fb881521c97eac01af36207b7dcde847f3c
parent04b4de1a55c8e7f61b20e0b5c946b2f99c24935c (diff)
downloadFreeBSD-src-d63eb3bcaadd5388e8611f6afa7850ade7df9b60.zip
FreeBSD-src-d63eb3bcaadd5388e8611f6afa7850ade7df9b60.tar.gz
Fix a #include "regex.h" that slipped through the net.
-rw-r--r--contrib/awk/awk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/awk/awk.h b/contrib/awk/awk.h
index 630144d..3ab2015 100644
--- a/contrib/awk/awk.h
+++ b/contrib/awk/awk.h
@@ -172,7 +172,11 @@ lose
#define GNU_REGEX
#ifdef GNU_REGEX
+#ifdef __FreeBSD__
+#include <gnuregex.h>
+#else
#include "regex.h"
+#endif
#include "dfa.h"
typedef struct Regexp {
struct re_pattern_buffer pat;
OpenPOWER on IntegriCloud