summaryrefslogtreecommitdiff
path: root/src/sed/lib/regex_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sed/lib/regex_internal.h')
-rw-r--r--src/sed/lib/regex_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sed/lib/regex_internal.h b/src/sed/lib/regex_internal.h
index c1c3e97..7ab79e7 100644
--- a/src/sed/lib/regex_internal.h
+++ b/src/sed/lib/regex_internal.h
@@ -39,7 +39,7 @@
#if defined HAVE_WCTYPE_H || defined _LIBC
# include <wctype.h>
#endif /* HAVE_WCTYPE_H || _LIBC */
-#if defined HAVE_STDBOOL_H || defined _LIBC
+#if defined HAVE_STDBOOL_H || defined _LIBC || defined(__HAIKU__) /* haiku hack */
# include <stdbool.h>
#endif /* HAVE_STDBOOL_H || _LIBC */
#if defined _LIBC