summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wolf/network/network.h3
-rw-r--r--include/wolf/port/sys.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/include/wolf/network/network.h b/include/wolf/network/network.h
index 9b723b4..7710d3b 100644
--- a/include/wolf/network/network.h
+++ b/include/wolf/network/network.h
@@ -42,8 +42,9 @@ extern "C" {
#include <netinet/in.h> /* for sockaddr_in */
#else
#if defined OPENBSD
+#include <sys/types.h> /* for u_int8_t, uid_t, etc */
#include <sys/socket.h> /* for sockaddr_storage */
-//#include <netinet/in.h> /* for sockaddr_in */
+#include <netinet/in.h> /* for sockaddr_in */
#else
#if defined NETBSD
#include <sys/socket.h> /* for sockaddr_storage */
diff --git a/include/wolf/port/sys.h b/include/wolf/port/sys.h
index 456d62e..6994d13 100644
--- a/include/wolf/port/sys.h
+++ b/include/wolf/port/sys.h
@@ -134,7 +134,7 @@
#if defined OPENBSD
#if OS_MAJOR_VERSION == 4
-#if OS_MINOR_VERSION >= 2 && OS_MINOR_VERSION <= 5
+#if OS_MINOR_VERSION >= 2 && OS_MINOR_VERSION <= 7
#define _XOPEN_SOURCE 600
#define HAVE_STDBOOL_H
#define HAVE_STDINT_H
@@ -154,7 +154,7 @@
#define HAVE_PTHREADS
#else
#error unknown platform
-#endif /* defined OS_MINOR_VERSION >= 2 && OS_MINOR_VERSION <= 3 */
+#endif /* defined OS_MINOR_VERSION >= 2 && OS_MINOR_VERSION <= 7 */
#else
#error unknown platform
#endif /* defined OS_MAJOR_VERSION == 4 */