diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2018-11-14 16:36:22 +0400 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2019-01-14 00:40:54 +0100 |
commit | 9ff748679846ac9016806f8cd22d52229fd9a8cd (patch) | |
tree | 6fe51b8b7a62f83b8ba02bf0c12d3e54dda39bc0 /slirp | |
parent | 8643dc3ef005956ecbf61f212a3842b002853775 (diff) |
slirp: remove HAVE_SYS_IOCTL_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/slirp.h | 2 | ||||
-rw-r--r-- | slirp/slirp_config.h | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/slirp/slirp.h b/slirp/slirp.h index 7606de962f..226bced429 100644 --- a/slirp/slirp.h +++ b/slirp/slirp.h @@ -32,7 +32,7 @@ typedef char *caddr_t; #include <sys/socket.h> #endif -#if defined(HAVE_SYS_IOCTL_H) +#ifndef _WIN32 # include <sys/ioctl.h> #endif diff --git a/slirp/slirp_config.h b/slirp/slirp_config.h index 68e75f3873..0e78e92d94 100644 --- a/slirp/slirp_config.h +++ b/slirp/slirp_config.h @@ -11,12 +11,6 @@ * You shouldn't need to touch any of these */ -/* Define if you have sys/ioctl.h */ -#undef HAVE_SYS_IOCTL_H -#ifndef _WIN32 -#define HAVE_SYS_IOCTL_H -#endif - /* Define if you have sys/filio.h */ #undef HAVE_SYS_FILIO_H #ifdef __APPLE__ |