summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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