Set _DARWIN_C_SOURCE on Darwin to fix build.

This commit is contained in:
Amitai Schleier 2019-01-27 21:49:32 -05:00
parent bc070e3bc3
commit 82c2eb695c
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ SUBST_SED.config+= -e 's,^LDFLAGS =,LDFLAGS +=,'
SUBST_SED.config+= -e 's/cc/${CC:Q}/'
CFLAGS.NetBSD+= -D_NETBSD_SOURCE # needed for VLNEXT in <sys/termios.h>
CFLAGS.Darwin+= -D_DARWIN_C_SOURCE
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1