changeset 104048:712697e0dfcc

* nsfont.m (NSFontDescriptor.h): Explicitly include under GNUstep.
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Thu, 23 Jul 2009 14:41:05 +0000
parents f3ac65e9abd6
children 7fcfa9c429bd
files src/ChangeLog src/nsfont.m
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Jul 23 13:21:44 2009 +0000
+++ b/src/ChangeLog	Thu Jul 23 14:41:05 2009 +0000
@@ -1,3 +1,7 @@
+2009-07-23  Yavor Doganov  <yavor@gnu.org>
+
+	* nsfont.m (NSFontDescriptor.h): Explicitly include under GNUstep.
+
 2009-07-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
 
 	* nsterm.m (EmacsView-keyUp:): Only act when running under Tiger.
--- a/src/nsfont.m	Thu Jul 23 13:21:44 2009 +0000
+++ b/src/nsfont.m	Thu Jul 23 14:41:05 2009 +0000
@@ -37,6 +37,11 @@
 #include "character.h"
 #include "font.h"
 
+/* This header is not included from GNUstep's (0.16.0) AppKit.h.  */
+#ifdef NS_IMPL_GNUSTEP
+#import <AppKit/NSFontDescriptor.h>
+#endif
+
 #define NSFONT_TRACE 0
 
 extern Lisp_Object Qns;