summaryrefslogtreecommitdiff
path: root/gnustep-base/gnustep-gui/files/gnustep-gui-0.30.0-nssound.patch
blob: 872a12e1169a23a00d88f53e76f05da87250e726 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From f10c0eeb1ba5276d32c70a479f77eff54c6bdba5 Mon Sep 17 00:00:00 2001
From: Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
Date: Thu, 2 Mar 2023 13:19:39 +0100
Subject: [PATCH] This broke building SimpleAgenda for me:

In file included from SoundBackend.m:1:
/usr/local/include/AppKit/NSSound.h:57:1: error: unknown type name 'APPKIT_EXPORT_CLASS'
APPKIT_EXPORT_CLASS
---
 Headers/AppKit/NSSound.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Headers/AppKit/NSSound.h b/Headers/AppKit/NSSound.h
index 4f4438765..c28019f55 100644
--- a/Headers/AppKit/NSSound.h
+++ b/Headers/AppKit/NSSound.h
@@ -30,6 +30,7 @@
 
 #ifndef _GNUstep_H_NSSound
 #define _GNUstep_H_NSSound
+#import <AppKit/AppKitDefines.h>
 
 #import <Foundation/NSObject.h>
 #import <Foundation/NSBundle.h>