From 831c4ba39475ba9098bbb4768eab07ee63aa141b Mon Sep 17 00:00:00 2001 From: "dveditz%netscape.com" Date: Thu, 9 Sep 1999 22:34:32 +0000 Subject: [PATCH] Making this compile on vc5. Not part of build yet --- xpinstall/wizard/windows/setup/shortcut.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xpinstall/wizard/windows/setup/shortcut.cpp b/xpinstall/wizard/windows/setup/shortcut.cpp index aba2da760e4..f6e01e3cbeb 100644 --- a/xpinstall/wizard/windows/setup/shortcut.cpp +++ b/xpinstall/wizard/windows/setup/shortcut.cpp @@ -22,8 +22,9 @@ * Sean Su */ -/* This is a hack for vc5.0. It needs to be set *before* - * any shell include files. +/* This is a hack for vc5.0. It needs to be set *before* any shell + * include files. The INITGUID definition turns off the inclusion + * of shlguid.h in shlobj.h so it has to be done explicitly. */ #if (_MSC_VER == 1100) #define INITGUID @@ -32,6 +33,7 @@ DEFINE_OLEGUID(IID_IPersistFile, 0x0000010BL, 0, 0); #endif #include +#include #include "shortcut.h" HRESULT CreateALink(LPSTR lpszPathObj, LPSTR lpszPathLink, LPSTR lpszDesc, LPSTR lpszWorkingPath, LPSTR lpszArgs, LPSTR lpszIconFullPath, int iIcon)