From ee2654ac243748284eadd63523c65cae5bfdcf90 Mon Sep 17 00:00:00 2001 From: bellard Date: Mon, 12 Jul 2004 21:11:45 +0000 Subject: [PATCH] removed unused includes - BSD port git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1014 c046a42c-6fe2-441c-8c8c-71466251a162 --- slirp/slirp.h | 17 +---------------- slirp/slirp_config.h | 8 ++++---- 2 files changed, 5 insertions(+), 20 deletions(-) diff --git a/slirp/slirp.h b/slirp/slirp.h index 5b9cfdec80..eecef59165 100644 --- a/slirp/slirp.h +++ b/slirp/slirp.h @@ -121,25 +121,10 @@ int inet_aton _P((const char *cp, struct in_addr *ia)); #endif #include -#if defined(WANT_SYS_IOCTL_H) && defined(HAVE_SYS_IOCTL_H) +#if defined(HAVE_SYS_IOCTL_H) # include -#else -# define WANT_SYS_TERMIOS_H -#endif - -#ifdef WANT_SYS_TERMIOS_H -# ifndef INCLUDED_TERMIOS_H -# ifdef HAVE_TERMIOS_H -# include -# else -# include -# endif -# define INCLUDED_TERMIOS_H -# endif #endif - - #ifdef HAVE_SYS_SELECT_H # include #endif diff --git a/slirp/slirp_config.h b/slirp/slirp_config.h index 51fc951572..5b014f2750 100644 --- a/slirp/slirp_config.h +++ b/slirp/slirp_config.h @@ -61,10 +61,13 @@ #define HAVE_STDLIB_H /* Define if you have sys/ioctl.h */ -#undef HAVE_SYS_IOCTL_H +#define HAVE_SYS_IOCTL_H /* Define if you have sys/filio.h */ #undef HAVE_SYS_FILIO_H +#ifdef __APPLE__ +#define HAVE_SYS_FILIO_H +#endif /* Define if you have strerror */ #define HAVE_STRERROR @@ -161,9 +164,6 @@ /* Define if you have memmove */ #define HAVE_MEMMOVE -/* Define if you have */ -#undef HAVE_TERMIOS_H - /* Define if you have gethostid */ #undef HAVE_GETHOSTID -- GitLab