summaryrefslogtreecommitdiff
path: root/slirp/slirp.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-02-23 11:58:03 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-02-23 12:43:05 +0000
commit30456d5ba3736b8f0c73560e559cdd2f76a4885e (patch)
treeb3d8dafbbbf8abb373dfaafcdd9926eb0365d58d /slirp/slirp.h
parentb1e34d1c3a9059e87719634bfc4db53174d63e14 (diff)
downloadqemu-30456d5ba3736b8f0c73560e559cdd2f76a4885e.tar.gz
qemu-30456d5ba3736b8f0c73560e559cdd2f76a4885e.tar.bz2
qemu-30456d5ba3736b8f0c73560e559cdd2f76a4885e.zip
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 <peter.maydell@linaro.org> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'slirp/slirp.h')
-rw-r--r--slirp/slirp.h18
1 files changed, 0 insertions, 18 deletions
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 <inttypes.h>
typedef char *caddr_t;
@@ -23,43 +21,31 @@ typedef char *caddr_t;
# endif
#endif
-#include <sys/types.h>
#ifdef HAVE_SYS_BITYPES_H
# include <sys/bitypes.h>
#endif
-#include <sys/time.h>
#ifdef HAVE_UNISTD_H
-# include <unistd.h>
#endif
#ifdef HAVE_STDLIB_H
-# include <stdlib.h>
#endif
-#include <stdio.h>
-#include <errno.h>
#ifndef HAVE_MEMMOVE
#define memmove(x, y, z) bcopy(y, x, z)
#endif
#if TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
#else
# ifdef HAVE_SYS_TIME_H
-# include <sys/time.h>
# else
-# include <time.h>
# endif
#endif
#ifdef HAVE_STRING_H
-# include <string.h>
#else
-# include <strings.h>
#endif
#ifndef _WIN32
@@ -82,11 +68,9 @@ void *malloc(size_t arg);
void free(void *ptr);
#endif
-#include <fcntl.h>
#ifndef NO_UNIX_SOCKETS
#include <sys/un.h>
#endif
-#include <signal.h>
#ifdef HAVE_SYS_SIGNAL_H
# include <sys/signal.h>
#endif
@@ -115,12 +99,10 @@ void free(void *ptr);
#endif
#ifdef __STDC__
-#include <stdarg.h>
#else
#include <varargs.h>
#endif
-#include <sys/stat.h>
/* Avoid conflicting with the libc insque() and remque(), which
have different prototypes. */