diff --git a/src/config.h b/src/config.h index 895c34f..4f032e7 100644 --- a/src/config.h +++ b/src/config.h @@ -7,6 +7,11 @@ #define HAVE_EPOLL #elif defined (__sun) #define HAVE_EVPORT +#define _XPG6 +#define __EXTENSIONS__ +#include +#include +#include #endif #endif /* CONFIG_H */ diff --git a/src/net.h b/src/net.h index 590312b..d8fcf11 100644 --- a/src/net.h +++ b/src/net.h @@ -1,9 +1,9 @@ #ifndef NET_H #define NET_H +#include "config.h" #include #include - #include "wrk.h" typedef enum {