neuwld

patched neuwld library (tracked)
git clone https://git.daat.foo/neuwld.git
Log | Files | Refs | README | LICENSE

commit ba4bc7598d7492b8b3c011caf83e5decb71b04eb
parent dbf96c577e651d152fa842537e636907a7784adb
Author: nia <nia@netbsd.org>
Date:   Wed, 11 Dec 2019 19:00:11 +0000

Define _NETBSD_SOURCE on NetBSD for mkostemp

Diffstat:
MMakefile | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -95,6 +95,11 @@ FINAL_CFLAGS += -Werror=implicit-function-declaration -Werror=implicit-int \ -Werror=pointer-sign -Werror=pointer-arith \ -Wall -Wno-missing-braces +ifeq ($(shell uname),NetBSD) + # Needed for mkostemp + FINAL_CPPFLAGS += -D_NETBSD_SOURCE +endif + ifeq ($(ENABLE_DEBUG),1) FINAL_CPPFLAGS += -DENABLE_DEBUG=1 FINAL_CFLAGS += -g