From 2cb4653e3290fea9d4ce3ff4f174c5bda6a4c976 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Tue, 31 Jan 2023 10:50:39 -0300 Subject: [PATCH] Fixing win32 build, adding 'changes' file in windows app. --- Makefile.in | 4 ++++ src/objects/os/windows/savedesktopicon.c | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 3c3a19a..d5b43a2 100644 --- a/Makefile.in +++ b/Makefile.in @@ -335,6 +335,10 @@ install-windows-application: \ $(PRODUCT_NAME).png \ $(DESTDIR)$(datarootdir)/$(PRODUCT_NAME)/$(PRODUCT_NAME).png + @$(INSTALL_DATA) \ + CHANGELOG \ + $(DESTDIR)$(datarootdir)/$(PRODUCT_NAME)/$(PACKAGE_NAME).changes + install-icons: @$(MKDIR) \ diff --git a/src/objects/os/windows/savedesktopicon.c b/src/objects/os/windows/savedesktopicon.c index 4b259b4..475c286 100644 --- a/src/objects/os/windows/savedesktopicon.c +++ b/src/objects/os/windows/savedesktopicon.c @@ -55,6 +55,8 @@ #include #include #include +#include +#include static GtkWidget * factory(V3270SimpleAction *action, GtkWidget *terminal); static void response(GtkWidget *dialog, gint response_id, GtkWidget *terminal); @@ -238,7 +240,7 @@ static HRESULT CreateShortCut(const char * pszTargetfile, const char * pszTarget HRESULT hRes = CoCreateInstance( - CLSID_ShellLink, // predefined CLSID of the IShellLink object + &CLSID_ShellLink, // predefined CLSID of the IShellLink object NULL, // pointer to parent interface if part of aggregate CLSCTX_INPROC_SERVER, // caller and called code are in same process &IID_IShellLink, // predefined interface of the IShellLink object -- libgit2 0.21.2