qemu-block
[Top][All Lists]
Advanced

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

[Qemu-block] [PATCH 3/9] main-loop: Move include of "qemu/sockets.h" to


From: Fam Zheng
Subject: [Qemu-block] [PATCH 3/9] main-loop: Move include of "qemu/sockets.h" to libslirp.h
Date: Wed, 10 Jun 2015 16:59:45 +0800

Signed-off-by: Fam Zheng <address@hidden>
---
 main-loop.c      | 1 -
 slirp/libslirp.h | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/main-loop.c b/main-loop.c
index 631caa0..18b7508 100644
--- a/main-loop.c
+++ b/main-loop.c
@@ -24,7 +24,6 @@
 
 #include "qemu-common.h"
 #include "qemu/timer.h"
-#include "qemu/sockets.h"      // struct in_addr needed for libslirp.h
 #include "sysemu/qtest.h"
 #include "slirp/libslirp.h"
 #include "qemu/main-loop.h"
diff --git a/slirp/libslirp.h b/slirp/libslirp.h
index 5bdcbd5..7f329d9 100644
--- a/slirp/libslirp.h
+++ b/slirp/libslirp.h
@@ -2,6 +2,7 @@
 #define _LIBSLIRP_H
 
 #include "qemu-common.h"
+#include "qemu/sockets.h"
 
 struct Slirp;
 typedef struct Slirp Slirp;
-- 
2.4.2




reply via email to

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