Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

build: define _XOPEN_SOURCE=500 on SunOS

Exposes msghdr.msg_flags, required for UDP support.
  • Loading branch information
bnoordhuis committed Aug 22, 2011
1 parent 6cc241a commit d01676fc732d9284d509afa7eb6b7efd8d6018a6
Showing with 1 addition and 1 deletion.
  1. +1 −1 config-unix.mk
@@ -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

0 comments on commit d01676f

Please sign in to comment.
You can’t perform that action at this time.