mirror of
https://github.com/tmux/tmux.git
synced 2025-04-14 07:18:49 +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
|
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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user