From 30456d5ba3736b8f0c73560e559cdd2f76a4885e Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Tue, 23 Feb 2016 11:58:03 +0000 Subject: all: Clean up includes Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Signed-off-by: Peter Maydell Reviewed-by: Eric Blake --- slirp/slirp.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'slirp') diff --git a/slirp/slirp.h b/slirp/slirp.h index 239fe2917a..07c13b4725 100644 --- a/slirp/slirp.h +++ b/slirp/slirp.h @@ -1,11 +1,9 @@ #ifndef __COMMON_H__ #define __COMMON_H__ -#include "config-host.h" #include "slirp_config.h" #ifdef _WIN32 -# include typedef char *caddr_t; @@ -23,43 +21,31 @@ typedef char *caddr_t; # endif #endif -#include #ifdef HAVE_SYS_BITYPES_H # include #endif -#include #ifdef HAVE_UNISTD_H -# include #endif #ifdef HAVE_STDLIB_H -# include #endif -#include -#include #ifndef HAVE_MEMMOVE #define memmove(x, y, z) bcopy(y, x, z) #endif #if TIME_WITH_SYS_TIME -# include -# include #else # ifdef HAVE_SYS_TIME_H -# include # else -# include # endif #endif #ifdef HAVE_STRING_H -# include #else -# include #endif #ifndef _WIN32 @@ -82,11 +68,9 @@ void *malloc(size_t arg); void free(void *ptr); #endif -#include #ifndef NO_UNIX_SOCKETS #include #endif -#include #ifdef HAVE_SYS_SIGNAL_H # include #endif @@ -115,12 +99,10 @@ void free(void *ptr); #endif #ifdef __STDC__ -#include #else #include #endif -#include /* Avoid conflicting with the libc insque() and remque(), which have different prototypes. */ -- cgit v1.2.1