diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-11-09 09:00:41 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2020-11-09 09:00:41 +0000 |
commit | 72c46aa15e50ef6391ab3fe6e230ed3abc9485b0 (patch) | |
tree | 213993a53f7731ab82f391881173195024b72e5c /compat.h | |
parent | dac285c92ac619cea73584a6bb309ace2b9c3b7a (diff) |
Add support for Haiku, from David Carlier. GitHub issue 2453.
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |