]> git.eshelyaron.com Git - emacs.git/commitdiff
* nsfont.m (NSFontDescriptor.h): Explicitly include under GNUstep.
authorAdrian Robert <Adrian.B.Robert@gmail.com>
Thu, 23 Jul 2009 14:42:45 +0000 (14:42 +0000)
committerAdrian Robert <Adrian.B.Robert@gmail.com>
Thu, 23 Jul 2009 14:42:45 +0000 (14:42 +0000)
src/ChangeLog
src/nsfont.m

index ae79ce7deaeedc41181cc0397faa497d12d3a902..3295afcfad11acb046258ee5ae21015091c4083e 100644 (file)
@@ -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.
index bf117fe1c9d911ef1d30abd78c6a7f91673fb3c9..032ea39aef478cb4c6032410c76f35e38b0c81ae 100644 (file)
@@ -37,6 +37,11 @@ Author: Adrian Robert (arobert@cogsci.ucsd.edu)
 #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;