summaryrefslogtreecommitdiff
path: root/include/wolf/port/netdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wolf/port/netdb.h')
-rw-r--r--include/wolf/port/netdb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/wolf/port/netdb.h b/include/wolf/port/netdb.h
index a66ff33..15ed25b 100644
--- a/include/wolf/port/netdb.h
+++ b/include/wolf/port/netdb.h
@@ -37,7 +37,7 @@
#ifdef SUNOS
#if OS_MAJOR_VERSION == 5
-#if OS_MINOR_VERSION == 10
+#if OS_MINOR_VERSION >= 8 && OS_MINOR_VERSION <= 10
#include <sys/socket.h>
#endif
#endif
@@ -62,7 +62,7 @@
#ifdef SUNOS
#if OS_MAJOR_VERSION == 5
-#if OS_MINOR_VERSION == 10
+#if OS_MINOR_VERSION >= 8 && OS_MINOR_VERSION <= 10
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/inet.h>