601583c320
Patch provided by Sergey Svishchev in private mail.
11 lines
324 B
Makefile
11 lines
324 B
Makefile
# $NetBSD: hacks.mk,v 1.2 2007/02/22 19:27:19 wiz Exp $
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
# NetBSD 1.x does not define types such as fd_set when _XOPEN_SOURCE is
|
|
# defined, unless _XOPEN_SOURCE_EXTENDED also is defined
|
|
.if ${OPSYS} == "NetBSD"
|
|
.if empty(OS_VERSION:N1.[56]*)
|
|
CFLAGS+= -D_XOPEN_SOURCE_EXTENDED
|
|
.endif
|
|
.endif
|