mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
NetBSD needs _OPENBSD_SOURCE for reallocarray.
This commit is contained in:
@ -63,6 +63,11 @@ if IS_AIX
|
|||||||
DEFS += -D_LINUX_SOURCE_COMPAT=1
|
DEFS += -D_LINUX_SOURCE_COMPAT=1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Set flags for NetBSD.
|
||||||
|
if IS_NETBSD
|
||||||
|
CPPFLAGS += -D_OPENBSD_SOURCE
|
||||||
|
endif
|
||||||
|
|
||||||
# List of sources.
|
# List of sources.
|
||||||
dist_tmux_SOURCES = \
|
dist_tmux_SOURCES = \
|
||||||
alerts.c \
|
alerts.c \
|
||||||
|
Reference in New Issue
Block a user