[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
- [Qemu-block] [PATCH 0/9] slirp: iohandler: Rebase onto aio, Fam Zheng, 2015/06/10
- [Qemu-block] [PATCH 2/9] iohandler: Use aio code, Fam Zheng, 2015/06/10
- [Qemu-block] [PATCH 3/9] main-loop: Move include of "qemu/sockets.h" to libslirp.h,
Fam Zheng <=
- [Qemu-block] [PATCH 1/9] aio: Introduce aio_set_fd_handler_pri, Fam Zheng, 2015/06/10
- [Qemu-block] [PATCH 4/9] slirp: Remove dead code for "PROBE_CONN", Fam Zheng, 2015/06/10
- [Qemu-block] [PATCH 5/9] slirp: Add "poll_events" to struct socket, Fam Zheng, 2015/06/10
- [Qemu-block] [PATCH 6/9] slirp: Move icmp socket to iohandler, Fam Zheng, 2015/06/10
- [Qemu-block] [PATCH 8/9] slirp: Move tcb socket to iohandler, Fam Zheng, 2015/06/10
- [Qemu-block] [PATCH 7/9] slirp: Move udb socket to iohandler, Fam Zheng, 2015/06/10
- [Qemu-block] [PATCH 9/9] slirp: Remove unused pollfds from the parameter list, Fam Zheng, 2015/06/10