include glib.h before checking for G_OS_WIN32. Also #define STRICT for

2007-08-13  Sven Neumann  <sven@gimp.org>

	* modules/cdisplay_lcms.c: include glib.h before checking for
	G_OS_WIN32. Also #define STRICT for strict type checks.


svn path=/trunk/; revision=23242
This commit is contained in:
Sven Neumann 2007-08-13 20:22:57 +00:00 committed by Sven Neumann
parent 0c64210b15
commit 70cba2b977
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-08-13 Sven Neumann <sven@gimp.org>
* modules/cdisplay_lcms.c: include glib.h before checking for
G_OS_WIN32. Also #define STRICT for strict type checks.
2007-08-13 Sven Neumann <sven@gimp.org>
* app/display/gimpdisplay.c

View File

@ -18,12 +18,13 @@
#include "config.h"
#include <glib.h> /* lcms.h uses the "inline" keyword */
#ifdef G_OS_WIN32
#define STRICT
#include <windows.h>
#endif
#include <glib.h> /* lcms.h uses the "inline" keyword */
#ifdef HAVE_LCMS_LCMS_H
#define LCMS_WIN_TYPES_ALREADY_DEFINED
#include <lcms/lcms.h>