[gimp/gimp-2-8] app: fix broken build on windows due to not #including windows.h
- From: Michael Henning <mhenning src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] app: fix broken build on windows due to not #including windows.h
- Date: Sun, 21 Apr 2013 02:19:46 +0000 (UTC)
commit 4055ccbe9cb3053c2c8bedabaa31df982fa1b752
Author: Michael Henning <drawoc darkrefraction com>
Date: Sat Apr 20 22:13:05 2013 -0400
app: fix broken build on windows due to not #including windows.h
This was broken after 7392679be90eecb54cce6dfa151602a314a31e35
The corresponding commit on master did not break the build because
windows.h is already included there.
app/core/gimp-utils.c | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/app/core/gimp-utils.c b/app/core/gimp-utils.c
index 2b65ab0..1b805bd 100644
--- a/app/core/gimp-utils.c
+++ b/app/core/gimp-utils.c
@@ -26,6 +26,12 @@
#include <langinfo.h>
#endif
+#include <glib.h>
+
+#ifdef G_OS_WIN32
+#include <windows.h>
+#endif
+
#include <cairo.h>
#include <glib-object.h>
#include <gobject/gvaluecollector.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]