Michael Tokarev 520b6dd4d0 main-loop: do not include slirp/slirp.h, use libslirp.h instead
The header slirp/slirp.h is an internal header for slirp, and
main-loop.c does not use internals from there.  Instead, it uses
public functions (slirp_update_timeout(), slirp_pollfds_fill()
etc) which are declared in slirp/libslirp.h.

Including slirp/slirp.h is somewhat dangerous since it redefines
errno on WIN32, so any file including it may misbehave wrt errno.

Unfortunately libslirp isn't self-contained, it needs declaration
of struct in_addr, which is provided by qemu/sockets.h.  Maybe
instead of #including qemu/sockets.h before libslirp.h, it is
better to make the latter self-contained.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
2013-06-12 18:43:08 +04:00
2013-05-26 11:14:52 +00:00
2013-06-11 23:45:43 +04:00
2013-05-12 13:25:55 +04:00
2013-06-12 13:17:53 +04:00
2013-06-11 23:45:44 +04:00
2013-06-10 11:36:12 -05:00
2013-05-28 12:19:02 +02:00
2013-06-06 11:27:29 +02:00
2013-06-11 23:45:44 +04:00
2013-06-11 23:45:43 +04:00
2013-05-29 16:26:50 +02:00
2013-06-06 11:27:05 +02:00
2013-05-29 08:15:35 -05:00
2013-05-18 16:35:12 +04:00
2013-06-06 11:27:05 +02:00
2013-06-06 11:27:05 +02:00
2013-05-20 10:55:18 -05:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%