diff src/nsselect.m @ 99904:ba4876d944bc

Fix bug #1362. * image.c (x_clear_image_1): Do not free background under HAVE_NS, it is not an indexed color. * nsterm.m (free_indexed_color): Add argument checking. * nsfns.m: Move config.h to before system includes (advised by Dan N.).
author Adrian Robert <Adrian.B.Robert@gmail.com>
date Tue, 25 Nov 2008 02:45:39 +0000
parents c628dd388bdb
children e038c1a8307c
line wrap: on
line diff
--- a/src/nsselect.m	Tue Nov 25 02:12:27 2008 +0000
+++ b/src/nsselect.m	Tue Nov 25 02:45:39 2008 +0000
@@ -25,7 +25,10 @@
 GNUstep port and post-20 update by Adrian Robert (arobert@cogsci.ucsd.edu)
 */
 
+/* This should be the first include, as it may set up #defines affecting
+   interpretation of even the system includes. */
 #include "config.h"
+
 #include "lisp.h"
 #include "nsterm.h"
 #include "termhooks.h"