slirp: remove unused HAVE_SYS_SELECT_H
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
This commit is contained in:
parent
94c168fed5
commit
8643dc3ef0
|
@ -8,10 +8,6 @@
|
||||||
#ifndef SLIRP_MAIN_H
|
#ifndef SLIRP_MAIN_H
|
||||||
#define SLIRP_MAIN_H
|
#define SLIRP_MAIN_H
|
||||||
|
|
||||||
#ifdef HAVE_SYS_SELECT_H
|
|
||||||
#include <sys/select.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern u_int curtime;
|
extern u_int curtime;
|
||||||
extern struct in_addr loopback_addr;
|
extern struct in_addr loopback_addr;
|
||||||
extern unsigned long loopback_mask;
|
extern unsigned long loopback_mask;
|
||||||
|
|
|
@ -36,10 +36,6 @@ typedef char *caddr_t;
|
||||||
# include <sys/ioctl.h>
|
# include <sys/ioctl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_SYS_SELECT_H
|
|
||||||
# include <sys/select.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef HAVE_SYS_FILIO_H
|
#ifdef HAVE_SYS_FILIO_H
|
||||||
# include <sys/filio.h>
|
# include <sys/filio.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -32,12 +32,6 @@
|
||||||
#define DECLARE_IOVEC
|
#define DECLARE_IOVEC
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Define if you have sys/select.h */
|
|
||||||
#undef HAVE_SYS_SELECT_H
|
|
||||||
#ifndef _WIN32
|
|
||||||
#define HAVE_SYS_SELECT_H
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Define to sizeof(char *) */
|
/* Define to sizeof(char *) */
|
||||||
#define SIZEOF_CHAR_P (HOST_LONG_BITS / 8)
|
#define SIZEOF_CHAR_P (HOST_LONG_BITS / 8)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue