slirp: remove qemu timer.h dependency
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
This commit is contained in:
parent
d1c4b3e97d
commit
759c5a6ab5
@ -7,7 +7,6 @@
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
#include "slirp.h"
|
||||
#include "qemu/timer.h"
|
||||
|
||||
static void
|
||||
ifs_insque(struct mbuf *ifm, struct mbuf *ifmhead)
|
||||
|
@ -6,7 +6,6 @@
|
||||
#include "qemu/osdep.h"
|
||||
#include "slirp.h"
|
||||
#include "ip6_icmp.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "qemu/log.h"
|
||||
|
||||
|
@ -23,7 +23,6 @@
|
||||
*/
|
||||
#include "qemu/osdep.h"
|
||||
#include "qemu-common.h"
|
||||
#include "qemu/timer.h"
|
||||
#include "qemu/error-report.h"
|
||||
#include "migration/register.h"
|
||||
#include "slirp.h"
|
||||
|
@ -48,6 +48,8 @@
|
||||
# define SLIRP_PACKED __attribute__((packed))
|
||||
#endif
|
||||
|
||||
#define SCALE_MS 1000000
|
||||
|
||||
#ifdef _WIN32
|
||||
int slirp_closesocket(int fd);
|
||||
int slirp_ioctlsocket(int fd, int req, void *val);
|
||||
|
Loading…
Reference in New Issue
Block a user