Set _DARWIN_C_SOURCE on Darwin to fix build.
This commit is contained in:
parent
bc070e3bc3
commit
82c2eb695c
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue