From 867b5f5a904366810c614d7b3327f253e46e59ae Mon Sep 17 00:00:00 2001 From: Nat Goodspeed <nat@lindenlab.com> Date: Thu, 14 Dec 2017 18:47:15 -0500 Subject: [PATCH] MAINT-8087: #include header for CoTaskMemFree() function which is required to free the pointer returned by SHGetKnownFolderPath(). --- indra/llvfs/lldir_win32.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/llvfs/lldir_win32.cpp b/indra/llvfs/lldir_win32.cpp index 55f0a6338dc..4d8aa0e1896 100644 --- a/indra/llvfs/lldir_win32.cpp +++ b/indra/llvfs/lldir_win32.cpp @@ -35,6 +35,7 @@ #include <Knownfolders.h> #include <iostream> #include <map> +#include <Objbase.h> // CoTaskMemFree() #include <direct.h> #include <errno.h> -- GitLab