From 7b2d9779818f4c0d4c31d3a0292bee1c4b633217 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Wed, 16 Jan 2013 19:04:27 +0100 Subject: util: Fix compilation of envlist.c for MinGW MinGW has no strtok_r, so we need a declaration in sysemu/os-win32.h. We must also fix the include statements in util/envlist.c to include that file. We currently don't need an implementation of strtok_r because the code is compiled but not linked for MinGW. Signed-off-by: Stefan Weil Signed-off-by: Blue Swirl --- util/envlist.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'util') diff --git a/util/envlist.c b/util/envlist.c index ff99fc44e9..ebc06cf0f3 100644 --- a/util/envlist.c +++ b/util/envlist.c @@ -1,9 +1,4 @@ -#include -#include -#include -#include -#include - +#include "qemu-common.h" #include "qemu/queue.h" #include "qemu/envlist.h" -- cgit v1.2.3