From Gisle Vanem: if WIN32_LEAN_AND_MEAN is defined, <windows.h> doesn't

include <commdlg.h>, but "print_mswin.c" needs it, so include it
explicitly.

svn path=/trunk/; revision=8632
This commit is contained in:
Guy Harris 2003-10-07 03:09:50 +00:00
parent 3a0d0dcbc1
commit 546484336d
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
/* print_mswin.c
* Printing support for MSWindows
*
* $Id: print_mswin.c,v 1.5 2002/09/09 20:16:11 guy Exp $
* $Id: print_mswin.c,v 1.6 2003/10/07 03:09:50 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -30,7 +30,8 @@
#include <string.h>
#include <stdio.h>
#include "windows.h"
#include <windows.h>
#include <commdlg.h>
#ifdef __WIN32__
#include <winspool.h>