mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-17 15:12:07 -06:00
removed unused includes - BSD port
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1014 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
354ff22657
commit
ee2654ac24
2 changed files with 5 additions and 20 deletions
|
@ -121,25 +121,10 @@ int inet_aton _P((const char *cp, struct in_addr *ia));
|
||||||
#endif
|
#endif
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
|
||||||
#if defined(WANT_SYS_IOCTL_H) && defined(HAVE_SYS_IOCTL_H)
|
#if defined(HAVE_SYS_IOCTL_H)
|
||||||
# include <sys/ioctl.h>
|
# include <sys/ioctl.h>
|
||||||
#else
|
|
||||||
# define WANT_SYS_TERMIOS_H
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WANT_SYS_TERMIOS_H
|
|
||||||
# ifndef INCLUDED_TERMIOS_H
|
|
||||||
# ifdef HAVE_TERMIOS_H
|
|
||||||
# include <termios.h>
|
|
||||||
# else
|
|
||||||
# include <termio.h>
|
|
||||||
# endif
|
|
||||||
# define INCLUDED_TERMIOS_H
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE_SYS_SELECT_H
|
#ifdef HAVE_SYS_SELECT_H
|
||||||
# include <sys/select.h>
|
# include <sys/select.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -61,10 +61,13 @@
|
||||||
#define HAVE_STDLIB_H
|
#define HAVE_STDLIB_H
|
||||||
|
|
||||||
/* Define if you have sys/ioctl.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 */
|
/* Define if you have sys/filio.h */
|
||||||
#undef HAVE_SYS_FILIO_H
|
#undef HAVE_SYS_FILIO_H
|
||||||
|
#ifdef __APPLE__
|
||||||
|
#define HAVE_SYS_FILIO_H
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Define if you have strerror */
|
/* Define if you have strerror */
|
||||||
#define HAVE_STRERROR
|
#define HAVE_STRERROR
|
||||||
|
@ -161,9 +164,6 @@
|
||||||
/* Define if you have memmove */
|
/* Define if you have memmove */
|
||||||
#define HAVE_MEMMOVE
|
#define HAVE_MEMMOVE
|
||||||
|
|
||||||
/* Define if you have <termios.h> */
|
|
||||||
#undef HAVE_TERMIOS_H
|
|
||||||
|
|
||||||
/* Define if you have gethostid */
|
/* Define if you have gethostid */
|
||||||
#undef HAVE_GETHOSTID
|
#undef HAVE_GETHOSTID
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue