Ethereal-dev: [Ethereal-dev] print_mswin.c patch

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Gisle Vanem" <giva@xxxxxxxxx>
Date: Tue, 7 Oct 2003 03:14:27 +0200
Defining WIN32_LEAN_AND_MEAN speeds up the
compilation a lot (both MSCV and MingW). But then <commdlg.h> 
isn't included in <windows.h>. This little patch fixes that:

--- gtk\print_mswin.c.orig      Tue Oct 07 02:52:52 2003
+++ gtk\print_mswin.c   Tue Oct 07 02:49:59 2003
@@ -30,7 +30,8 @@
 #include <string.h>
 #include <stdio.h>

-#include "windows.h"
+#include <windows.h>
+#include <commdlg.h>

 #ifdef __WIN32__
 #include <winspool.h>

--gv