Commit 9c6c5462 authored by Philip Withnall's avatar Philip Withnall

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's avatarPhilip Withnall <withnall@endlessm.com>

Fixes: #1869
parent 4bd74ac5
Pipeline #199299 passed with stages
in 18 minutes and 45 seconds
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment