Received: from eggs.gnu.org ([140.186.70.92]:38208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RInXk-0007yb-Kp for qemu-devel@nongnu.org; Tue, 25 Oct 2011 16:24:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RInXj-0005vm-JO for qemu-devel@nongnu.org; Tue, 25 Oct 2011 16:24:16 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:43484) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RInXj-0005kY-Et for qemu-devel@nongnu.org; Tue, 25 Oct 2011 16:24:15 -0400 From: Stefan Weil Date: Tue, 25 Oct 2011 22:23:17 +0200 Message-Id: <1319574197-31283-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH v2] main-loop: Add missing include file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Anthony Liguori , Stefan Weil 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 --- main-loop.c | 30 +++++------------------------- 1 files changed, 5 insertions(+), 25 deletions(-) diff --git a/main-loop.c b/main-loop.c index bfecdb7..60e9748 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) -- 1.7.2.5