diff options
-rw-r--r-- | Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 81dc4c71..1685c3dc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -63,6 +63,11 @@ if IS_AIX DEFS += -D_LINUX_SOURCE_COMPAT=1 endif +# Set flags for NetBSD. +if IS_NETBSD +CPPFLAGS += -D_OPENBSD_SOURCE +endif + # List of sources. dist_tmux_SOURCES = \ alerts.c \ |