summaryrefslogtreecommitdiffstats
path: root/Makefile.am
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 /Makefile.am
parentdac285c92ac619cea73584a6bb309ace2b9c3b7a (diff)
Add support for Haiku, from David Carlier. GitHub issue 2453.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 91d641fd..7b84b1e9 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -58,6 +58,11 @@ if IS_NETBSD
AM_CPPFLAGS += -D_OPENBSD_SOURCE
endif
+# Set flags for Haiku.
+if IS_HAIKU
+AM_CPPFLAGS += -D_BSD_SOURCE
+endif
+
# List of sources.
dist_tmux_SOURCES = \
alerts.c \