mirror of
https://github.com/tmux/tmux.git
synced 2025-03-28 17:48:48 +00:00
NetBSD needs _OPENBSD_SOURCE for reallocarray.
This commit is contained in:
parent
12efb40dc5
commit
76a9e6f27b
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user