summaryrefslogtreecommitdiff
path: root/www/drivel/hacks.mk
blob: fe9b0ce5665c06114fc3de4e29f3857539267171 (plain)
1
2
3
4
5
6
7
8
9
10
11
# $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