[pan2: 17/68] Add missing header for windows console.



commit a132296285372c08ce0fd20495fbab72c899ab7a
Author: K. Haley <haleykd users sf net>
Date:   Thu Jan 14 15:53:50 2010 -0700

    Add missing header for windows console.

 pan/gui/pan.cc |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/pan/gui/pan.cc b/pan/gui/pan.cc
index 71af6b4..8da82ac 100644
--- a/pan/gui/pan.cc
+++ b/pan/gui/pan.cc
@@ -25,6 +25,10 @@ extern "C" {
   #include <gtk/gtk.h>
   #include <gmime/gmime.h>
 }
+#ifdef G_OS_WIN32
+#define _WIN32_WINNT 0x0501
+#include <windows.h>
+#endif
 #include <pan/general/debug.h>
 #include <pan/general/log.h>
 #include <pan/general/file-util.h>



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