From 2087d9ad7d3a5efc10c0c151a7b563e7d8f3d3d9 Mon Sep 17 00:00:00 2001 From: aiwe Date: Tue, 30 Apr 2024 22:40:36 -0500 Subject: [PATCH] Some more minor changes (cherry picked from commit 56cf0e85be8249f028f6095b669d4bbeb8002690) --- src/Platform/Linux/System/Dispatcher.h | 2 +- src/Platform/Windows/System/TcpListener.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Platform/Linux/System/Dispatcher.h b/src/Platform/Linux/System/Dispatcher.h index 2b42a4a0b..cc163c676 100755 --- a/src/Platform/Linux/System/Dispatcher.h +++ b/src/Platform/Linux/System/Dispatcher.h @@ -93,7 +93,7 @@ class Dispatcher { # else static const int SIZEOF_PTHREAD_MUTEX_T = 32; # endif -#elif __aarch64__ +#elif defined(__aarch64__) static const int SIZEOF_PTHREAD_MUTEX_T = 48; #else static const int SIZEOF_PTHREAD_MUTEX_T = 24; diff --git a/src/Platform/Windows/System/TcpListener.h b/src/Platform/Windows/System/TcpListener.h index aee36248b..47921f987 100755 --- a/src/Platform/Windows/System/TcpListener.h +++ b/src/Platform/Windows/System/TcpListener.h @@ -20,6 +20,7 @@ #include #include +#include namespace System {