slirp: do not include qemu headers in libslirp.h public API header

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:
Marc-André Lureau 2019-01-17 15:43:45 +04:00 committed by Samuel Thibault
parent 268c95d771
commit 35ee75f343

View File

@ -1,7 +1,17 @@
#ifndef LIBSLIRP_H
#define LIBSLIRP_H
#include "qemu-common.h"
#include <glib.h>
#include <stdint.h>
#include <stdbool.h>
#ifdef _WIN32
#include <winsock2.h>
#include <in6addr.h>
#else
#include <netinet/in.h>
#include <arpa/inet.h>
#endif
typedef struct Slirp Slirp;