diff options
author | Jehan <jehan@girinstud.io> | 2019-11-21 21:26:31 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2019-11-25 17:48:52 +0000 |
commit | 5cc8e4fc723b7b7d502cf91f245144f149c68d22 (patch) | |
tree | 455a8e3c5e2c597c5a26d275ba134806669e92da /libappstream-glib/as-icon.c | |
parent | 2e13dcc11de8c4da5822f51fd32f08917f012d09 (diff) | |
download | appstream-glib-5cc8e4fc723b7b7d502cf91f245144f149c68d22.tar.gz |
Fix Win32 headers.
For some reason, with mingw-w64 64-bit builds, this was just a warning.
But building for 32-bit, linking was failing:
> libappstream-glib/as-self-test.c:99: undefined reference to `GetFullPathNameA'
> collect2: error: ld returned 1 exit status
Adding the appropriate header fixes both the warning and error (since
windows.h includes windef.h, it's actually a replacement).
Diffstat (limited to 'libappstream-glib/as-icon.c')
0 files changed, 0 insertions, 0 deletions