Signed-off-by: Fam Zheng <f...@redhat.com> --- 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