diff --git a/src/Cedar/BridgeUnix.c b/src/Cedar/BridgeUnix.c index b883bb47..87287d7c 100644 --- a/src/Cedar/BridgeUnix.c +++ b/src/Cedar/BridgeUnix.c @@ -25,11 +25,14 @@ #include #include -#include #include #include #include +#ifndef UNIX_OPENBSD +#include +#endif + #ifdef UNIX_SOLARIS #include #endif diff --git a/src/Mayaqua/DNS.c b/src/Mayaqua/DNS.c index b5152ee5..c2617e87 100644 --- a/src/Mayaqua/DNS.c +++ b/src/Mayaqua/DNS.c @@ -13,6 +13,14 @@ #include #endif +#ifndef AI_ALL +#define AI_ALL 0 +#endif + +#ifndef AI_V4MAPPED +#define AI_V4MAPPED 0 +#endif + static bool cache_enabled; static LIST *cache; diff --git a/src/Mayaqua/Network.h b/src/Mayaqua/Network.h index b8faee9c..25ce9360 100644 --- a/src/Mayaqua/Network.h +++ b/src/Mayaqua/Network.h @@ -13,6 +13,10 @@ #ifdef OS_UNIX #include + +#ifdef UNIX_OPENBSD +#include +#endif #endif // Dynamic Value