aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/webbrowser.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-07-05 05:40:51 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-07-05 05:40:51 +0000
commit074c978ab54db36b6dd426550bf558c3ad098482 (patch)
tree8adc57769e16bd0b39f30c88505bb05c2b50ce30 /gtk/webbrowser.c
parent8312578ffd41f6fce36e856b6a6f2f66bb65024b (diff)
from Gisle Vanem: if WIN32_LEAN_AND_MEAN is defined,
include shellapi.h too svn path=/trunk/; revision=11315
Diffstat (limited to 'gtk/webbrowser.c')
-rw-r--r--gtk/webbrowser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/webbrowser.c b/gtk/webbrowser.c
index e5b1878329..af809f1723 100644
--- a/gtk/webbrowser.c
+++ b/gtk/webbrowser.c
@@ -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>