From 9c6c546236fc13c245c93f21b3f4b264996f01b9 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Mon, 27 Jul 2020 02:59:33 +0100 Subject: [PATCH] gosxutils: Include Foundation rather than Cocoa Apparently, the function calls added in 11729cdc use Foundation, not Cocoa. Cocoa is a massive superset of Foundation, and is not available on iOS. Patch contributed by Jay Freeman, but without providing an e-mail address. So the git commit cannot be attributed to him. Signed-off-by: Philip Withnall Fixes: #1869 --- glib/gosxutils.m | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/glib/gosxutils.m b/glib/gosxutils.m index 7a0d84d31..9b6601783 100644 --- a/glib/gosxutils.m +++ b/glib/gosxutils.m @@ -17,11 +17,7 @@ #include "config.h" -#ifndef HAVE_COCOA -#error "Can only build gutils-macos.m on MacOS" -#endif - -#include +#include #include "gutils.h" #include "gstrfuncs.h"