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 <withnall@endlessm.com>

Fixes: #1869
This commit is contained in:
Philip Withnall 2020-07-27 02:59:33 +01:00
parent 4bd74ac582
commit 9c6c546236

View File

@ -17,11 +17,7 @@
#include "config.h"
#ifndef HAVE_COCOA
#error "Can only build gutils-macos.m on MacOS"
#endif
#include <Cocoa/Cocoa.h>
#include <Foundation/Foundation.h>
#include "gutils.h"
#include "gstrfuncs.h"