from Gisle Vanem: if WIN32_LEAN_AND_MEAN is defined,

include shellapi.h too

svn path=/trunk/; revision=11315
This commit is contained in:
Ulf Lamping 2004-07-05 05:40:51 +00:00
parent 8312578ffd
commit 074c978ab5
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,8 @@
#if defined(G_OS_WIN32)
/* Win32 - use Windows shell services to start a browser */
#include <windows.h>
/* if WIN32_LEAN_AND_MEAN is defined, shellapi.h is needed too */
#include <shellapi.h>
#elif defined (HAVE_OS_X_FRAMEWORKS)
/* Mac OS X - use Launch Services to start a browser */
#include <CoreFoundation/CFBase.h>