[glom] Windows build: Add a windows.h include.



commit d39894816dc8ae5c47b5b3a441749993c490b060
Author: Murray Cumming <murrayc murrayc com>
Date:   Wed Apr 11 09:16:51 2012 +0200

    Windows build: Add a windows.h include.
    
    * glom/utility_widgets/imageglom.cc: As suggested by
    alien in bug #673096

 ChangeLog                         |    7 +++++++
 glom/utility_widgets/imageglom.cc |    4 ++++
 2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 236cc6a..876e59b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-04-11  Murray Cumming  <murrayc murrayc com>
+
+	Windows build: Add a windows.h include.
+
+	* glom/utility_widgets/imageglom.cc: As suggested by 
+	alien in bug #673096
+
 2012-03-29  Murray Cumming  <murrayc murrayc com>
 
 	Fixed some simple warnings found by scan-build.
diff --git a/glom/utility_widgets/imageglom.cc b/glom/utility_widgets/imageglom.cc
index c7c07d1..caa3c6c 100644
--- a/glom/utility_widgets/imageglom.cc
+++ b/glom/utility_widgets/imageglom.cc
@@ -34,6 +34,10 @@
 #include <libgda/gda-blob-op.h>
 #include <glibmm/convert.h>
 
+#ifdef G_OS_WIN32
+#include <windows.h>
+#endif
+
 #include <iostream>   // for cout, endl
 
 namespace Glom



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]