summaryrefslogtreecommitdiffstats
path: root/compat.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2020-11-09 09:00:41 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2020-11-09 09:00:41 +0000
commit72c46aa15e50ef6391ab3fe6e230ed3abc9485b0 (patch)
tree213993a53f7731ab82f391881173195024b72e5c /compat.h
parentdac285c92ac619cea73584a6bb309ace2b9c3b7a (diff)
Add support for Haiku, from David Carlier. GitHub issue 2453.
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compat.h b/compat.h
index b213336f..ec125ced 100644
--- a/compat.h
+++ b/compat.h
@@ -110,6 +110,10 @@ void warnx(const char *, ...);
#define pledge(s, p) (0)
#endif
+#ifndef IMAXBEL
+#define IMAXBEL 0
+#endif
+
#ifdef HAVE_STDINT_H
#include <stdint.h>
#else