Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
build: define _XOPEN_SOURCE=500 on SunOS
Browse files Browse the repository at this point in the history
Exposes msghdr.msg_flags, required for UDP support.
  • Loading branch information
bnoordhuis committed Aug 22, 2011
1 parent 6cc241a commit d01676f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config-unix.mk
Expand Up @@ -32,7 +32,7 @@ CPPFLAGS += -D_FILE_OFFSET_BITS=64
ifeq (SunOS,$(uname_S))
EV_CONFIG=config_sunos.h
EIO_CONFIG=config_sunos.h
CPPFLAGS += -Isrc/ares/config_sunos -D__EXTENSIONS__
CPPFLAGS += -Isrc/ares/config_sunos -D__EXTENSIONS__ -D_XOPEN_SOURCE=500
LINKFLAGS+=-lsocket -lnsl
UV_OS_FILE=uv-sunos.c
endif
Expand Down

0 comments on commit d01676f

Please sign in to comment.