summaryrefslogtreecommitdiff
path: root/src/nsselect.m
diff options
context:
space:
mode:
authorAdrian Robert <Adrian.B.Robert@gmail.com>2008-11-25 02:45:39 +0000
committerAdrian Robert <Adrian.B.Robert@gmail.com>2008-11-25 02:45:39 +0000
commitba34c113eacbc733df674399c00bba6a0685679f (patch)
tree053640b7ac3938f7017347a35a8147b5fb4c5540 /src/nsselect.m
parentd84e24b305df7a230c6dd862f2684b0e0afa043b (diff)
downloademacs-ba34c113eacbc733df674399c00bba6a0685679f.tar.gz
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.).
Diffstat (limited to 'src/nsselect.m')
-rw-r--r--src/nsselect.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nsselect.m b/src/nsselect.m
index 88f8b262507..fbbe86ecf51 100644
--- a/src/nsselect.m
+++ b/src/nsselect.m
@@ -25,7 +25,10 @@ MacOSX/Aqua port by Christophe de Dinechin (descubes@earthlink.net)
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"