From 32877cdeaa9708c0b49c3b66534ca5b767316626 Mon Sep 17 00:00:00 2001 From: Abdelrahman Said Date: Sun, 2 Jun 2024 20:54:20 +0100 Subject: [PATCH] Fix platform detection on Apple platforms --- src/platform/platform.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platform/platform.h b/src/platform/platform.h index 546e7a3..5e892d1 100644 --- a/src/platform/platform.h +++ b/src/platform/platform.h @@ -31,6 +31,7 @@ #define WAPP_PLATFORM_GNU #define WAPP_PLATFORM_POSIX #elif defined(__APPLE__) || defined(__MACH__) +#include #if TARGET_OS_IPHONE #define WAPP_PLATFORM_IOS #define WAPP_PLATFORM_APPLE