aboutsummaryrefslogtreecommitdiffstats
path: root/support/regex.h
diff options
context:
space:
mode:
Diffstat (limited to 'support/regex.h')
-rw-r--r--support/regex.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/support/regex.h b/support/regex.h
index 1bbbb26c..adddd9ee 100644
--- a/support/regex.h
+++ b/support/regex.h
@@ -28,6 +28,10 @@
#include <sys/types.h>
#endif
+#ifndef _LIBC
+#define __USE_GNU 1
+#endif
+
/* Allow the use in C++ code. */
#ifdef __cplusplus
extern "C" {