aboutsummaryrefslogtreecommitdiff
path: root/slirp
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2018-11-14 16:36:23 +0400
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-01-14 00:40:54 +0100
commit53b8670b80f037a8ae65d470d325b8efcca25a77 (patch)
tree4f4d54879ce75298d104048080855b4abbaf6692 /slirp
parent9ff748679846ac9016806f8cd22d52229fd9a8cd (diff)
slirp: remove HAVE_SYS_FILIO_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.h2
-rw-r--r--slirp/slirp_config.h6
2 files changed, 1 insertions, 7 deletions
diff --git a/slirp/slirp.h b/slirp/slirp.h
index 226bced429..4bbbba046e 100644
--- a/slirp/slirp.h
+++ b/slirp/slirp.h
@@ -36,7 +36,7 @@ typedef char *caddr_t;
# include <sys/ioctl.h>
#endif
-#ifdef HAVE_SYS_FILIO_H
+#ifdef __APPLE__
# include <sys/filio.h>
#endif
diff --git a/slirp/slirp_config.h b/slirp/slirp_config.h
index 0e78e92d94..f1ee927c15 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/filio.h */
-#undef HAVE_SYS_FILIO_H
-#ifdef __APPLE__
-#define HAVE_SYS_FILIO_H
-#endif
-
/* Define if the machine is big endian */
//#undef HOST_WORDS_BIGENDIAN