From 0ec024f63696edb42c9841e756811ba31fd18ab8 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Tue, 25 Oct 2011 22:23:17 +0200 Subject: main-loop: Add missing include file stdint.h defines the POSIX data types and is needed for MinGW-w64 (and maybe other hosts). v2: Instead of adding stdint.h directly, qemu-common.h is now included and duplicate include statements were removed. Signed-off-by: Stefan Weil Signed-off-by: Anthony Liguori --- main-loop.c | 30 +++++------------------------- 1 file changed, 5 insertions(+), 25 deletions(-) (limited to 'main-loop.c') diff --git a/main-loop.c b/main-loop.c index bfecdb7769..60e9748324 100644 --- a/main-loop.c +++ b/main-loop.c @@ -21,36 +21,16 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ -#include "config-host.h" -#include -#include -#include -#include -#include -#include -#ifdef _WIN32 -#include -#include -#include -#else -#include -#include -#include -#include -#include -#include -#include "compatfd.h" -#endif - -#include - -#include "main-loop.h" +#include "qemu-common.h" #include "qemu-timer.h" -#include "slirp/libslirp.h" +#include "slirp/slirp.h" +#include "main-loop.h" #ifndef _WIN32 +#include "compatfd.h" + static int io_thread_fd = -1; void qemu_notify_event(void) -- cgit v1.2.1