qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] fix MinGW compilation when --enable-vnc-jpeg is


From: Stefan Weil
Subject: Re: [Qemu-devel] [PATCH] fix MinGW compilation when --enable-vnc-jpeg is specified
Date: Sat, 18 Jun 2011 10:35:57 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10

Am 18.06.2011 07:13, schrieb Roy Tam:
This patch fix conflicting types for 'INT32' in basetsd.h in including
qemu-common.h first.


Sign-off-by: Roy Tam<address@hidden>
--
diff --git a/ui/vnc-enc-tight.c b/ui/vnc-enc-tight.c
index 87fdf35..1591df0 100644
--- a/ui/vnc-enc-tight.c
+++ b/ui/vnc-enc-tight.c
@@ -28,6 +28,8 @@

  #include "config-host.h"

+#include "qemu-common.h"
+
  #ifdef CONFIG_VNC_PNG
  #include<png.h>
  #endif
@@ -36,8 +38,6 @@
  #include<jpeglib.h>
  #endif

-#include "qemu-common.h"
-
  #include "bswap.h"
  #include "qint.h"
  #include "vnc.h"

Acked-by: Stefan Weil <address@hidden>

The conflicting declaration is in jmorecfg.h which is included from jpeglib.h.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]