aboutsummaryrefslogtreecommitdiff
path: root/nbd
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 /nbd
parentb1e34d1c3a9059e87719634bfc4db53174d63e14 (diff)
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 'nbd')
-rw-r--r--nbd/nbd-internal.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/nbd/nbd-internal.h b/nbd/nbd-internal.h
index db6ab65ced..d09b4ee308 100644
--- a/nbd/nbd-internal.h
+++ b/nbd/nbd-internal.h
@@ -16,16 +16,12 @@
#include "qemu/coroutine.h"
#include "qemu/iov.h"
-#include <errno.h>
-#include <string.h>
#ifndef _WIN32
#include <sys/ioctl.h>
#endif
#if defined(__sun__) || defined(__HAIKU__)
#include <sys/ioccom.h>
#endif
-#include <ctype.h>
-#include <inttypes.h>
#ifdef __linux__
#include <linux/fs.h>