From 18598b5d96a6bcc92b4782ed98a2a2ab206762f2 Mon Sep 17 00:00:00 2001 From: Johannes Weidacher Date: Sat, 25 Dec 2021 15:36:52 +0100 Subject: [PATCH] Change ifdef for UNIX_LINUX Only --- src/Cedar/BridgeUnix.c | 1 + src/Mayaqua/Network.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/Cedar/BridgeUnix.c b/src/Cedar/BridgeUnix.c index bc40967a..5bad0af1 100644 --- a/src/Cedar/BridgeUnix.c +++ b/src/Cedar/BridgeUnix.c @@ -50,6 +50,7 @@ #endif #ifdef UNIX_LINUX +#include struct my_tpacket_auxdata { diff --git a/src/Mayaqua/Network.h b/src/Mayaqua/Network.h index fbb699b7..c630b981 100644 --- a/src/Mayaqua/Network.h +++ b/src/Mayaqua/Network.h @@ -13,12 +13,15 @@ #ifdef OS_UNIX #include + +#ifdef UNIX_LINUX #include #ifdef UNIX_OPENBSD #include #endif #endif +#endif // Dynamic Value struct DYN_VALUE