aboutsummaryrefslogtreecommitdiff
path: root/slirp
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2018-11-14 16:36:21 +0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-01-14 00:40:54 +0100
commit8643dc3ef005956ecbf61f212a3842b002853775 (patch)
tree73eaf55928ea1fe4234c205bffaa22f64397f890 /slirp
parent94c168fed5bb2bf3a71b9e3d487d9e20edf9905d (diff)
downloadqemu-8643dc3ef005956ecbf61f212a3842b002853775.zip
qemu-8643dc3ef005956ecbf61f212a3842b002853775.tar.gz
qemu-8643dc3ef005956ecbf61f212a3842b002853775.tar.bz2
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>
Diffstat (limited to 'slirp')
-rw-r--r--slirp/main.h4
-rw-r--r--slirp/slirp.h4
-rw-r--r--slirp/slirp_config.h6
3 files changed, 0 insertions, 14 deletions
diff --git a/slirp/main.h b/slirp/main.h
index e046779..4bc05fb 100644
--- a/slirp/main.h
+++ b/slirp/main.h
@@ -8,10 +8,6 @@
#ifndef SLIRP_MAIN_H
#define SLIRP_MAIN_H
-#ifdef HAVE_SYS_SELECT_H
-#include <sys/select.h>
-#endif
-
extern u_int curtime;
extern struct in_addr loopback_addr;
extern unsigned long loopback_mask;
diff --git a/slirp/slirp.h b/slirp/slirp.h
index 1f47848..7606de9 100644
--- a/slirp/slirp.h
+++ b/slirp/slirp.h
@@ -36,10 +36,6 @@ typedef char *caddr_t;
# include <sys/ioctl.h>
#endif
-#ifdef HAVE_SYS_SELECT_H
-# include <sys/select.h>
-#endif
-
#ifdef HAVE_SYS_FILIO_H
# include <sys/filio.h>
#endif
diff --git a/slirp/slirp_config.h b/slirp/slirp_config.h
index 9becb98..68e75f3 100644
--- a/slirp/slirp_config.h
+++ b/slirp/slirp_config.h
@@ -32,12 +32,6 @@
#define DECLARE_IOVEC
#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 SIZEOF_CHAR_P (HOST_LONG_BITS / 8)