Fix Linux build

This commit is contained in:
Robert Mustacchi 2011-07-07 23:41:27 -07:00 committed by Ryan Dahl
parent 8287551b91
commit ee599ec114
2 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,7 @@ endif
ifeq (Linux,$(uname_S))
EV_CONFIG=config_linux.h
EIO_CONFIG=config_linux.h
CSTDFLAG += -D_XOPEN_SOURCE=600
CPPFLAGS += -Isrc/ares/config_linux
LINKFLAGS+=-lrt
UV_OS_FILE=uv-linux.c

View File

@ -52,6 +52,7 @@
#else /* Not Windows */
# include <sys/time.h>
# include <sys/types.h>
# include <sys/socket.h>
#endif