mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
Fix MinGW compilation when --enable-vnc-jpeg is specified
Fix conflicting types for 'INT32' in basetsd.h and jmorecfg.h by including qemu-common.h first. Signed-off-by: Roy Tam <roytam@gmail.com> Acked-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
f44c99607a
commit
f26e428da5
1 changed files with 5 additions and 2 deletions
|
@ -28,6 +28,11 @@
|
|||
|
||||
#include "config-host.h"
|
||||
|
||||
/* This needs to be before jpeglib.h line because of conflict with
|
||||
INT32 definitions between jmorecfg.h (included by jpeglib.h) and
|
||||
Win32 basetsd.h (included by windows.h). */
|
||||
#include "qemu-common.h"
|
||||
|
||||
#ifdef CONFIG_VNC_PNG
|
||||
#include <png.h>
|
||||
#endif
|
||||
|
@ -36,8 +41,6 @@
|
|||
#include <jpeglib.h>
|
||||
#endif
|
||||
|
||||
#include "qemu-common.h"
|
||||
|
||||
#include "bswap.h"
|
||||
#include "qint.h"
|
||||
#include "vnc.h"
|
||||
|
|
Loading…
Reference in a new issue