From f1b464e84dfe7f989eaa6d81cde59d3384d79a69 Mon Sep 17 00:00:00 2001 From: Johannes Weidacher Date: Sat, 25 Dec 2021 15:36:52 +0100 Subject: [PATCH] fix alpine compile issue. --- src/Cedar/BridgeUnix.c | 2 +- src/Mayaqua/Network.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Cedar/BridgeUnix.c b/src/Cedar/BridgeUnix.c index bc40967a..88244b7d 100644 --- a/src/Cedar/BridgeUnix.c +++ b/src/Cedar/BridgeUnix.c @@ -25,7 +25,6 @@ #include #include -#include #include #include #include @@ -50,6 +49,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