diff options
Diffstat (limited to 'include/wolf/network/network.h')
-rw-r--r-- | include/wolf/network/network.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/wolf/network/network.h b/include/wolf/network/network.h index 29e9ce2..bfcaa3f 100644 --- a/include/wolf/network/network.h +++ b/include/wolf/network/network.h @@ -41,8 +41,13 @@ extern "C" { #include <sys/socket.h> /* for sockaddr_storage */ #include <netinet/in.h> /* for sockaddr_in */ #else +#if defined OPENBSD +#include <sys/socket.h> /* for sockaddr_storage */ +#include <netinet/in.h> /* for sockaddr_in */ +#else #error Check includes first! #endif +#endif /** * helper union to avoid anti-aliasing warnings in old network functions like getpeername, |