mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/win32-vd_agent
synced 2026-01-27 11:46:30 +00:00
vdagent-win: Fix compile under MingW
Including directly shlobj.h in some MingW environment lead to some missing definitions error. Including windows.h before fix the problem. Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
ae4a4f0035
commit
7fb2e2becc
@ -15,6 +15,7 @@
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <windows.h>
|
||||
#include <shlobj.h>
|
||||
#define __STDC_FORMAT_MACROS
|
||||
#define __USE_MINGW_ANSI_STDIO 1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user