diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2016-01-29 17:50:05 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2016-02-04 17:41:30 +0000 |
commit | d38ea87ac54af64ef611de434d07c12dc0399216 (patch) | |
tree | 58bf1154cf210524d587a66cf3605adb5ada6489 /nbd | |
parent | ccd241b5a2223c502441714d413d569565e4a3b4 (diff) | |
download | qemu-d38ea87ac54af64ef611de434d07c12dc0399216.zip qemu-d38ea87ac54af64ef611de434d07c12dc0399216.tar.gz qemu-d38ea87ac54af64ef611de434d07c12dc0399216.tar.bz2 |
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>
Message-id: 1454089805-5470-16-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'nbd')
-rw-r--r-- | nbd/client.c | 1 | ||||
-rw-r--r-- | nbd/common.c | 1 | ||||
-rw-r--r-- | nbd/server.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/nbd/client.c b/nbd/client.c index 83df7ba..f07cb48 100644 --- a/nbd/client.c +++ b/nbd/client.c @@ -16,6 +16,7 @@ * along with this program; if not, see <http://www.gnu.org/licenses/>. */ +#include "qemu/osdep.h" #include "nbd-internal.h" static int nbd_errno_to_system_errno(int err) diff --git a/nbd/common.c b/nbd/common.c index 7b089b0..178d4a7 100644 --- a/nbd/common.c +++ b/nbd/common.c @@ -16,6 +16,7 @@ * along with this program; if not, see <http://www.gnu.org/licenses/>. */ +#include "qemu/osdep.h" #include "nbd-internal.h" ssize_t nbd_wr_sync(int fd, void *buffer, size_t size, bool do_read) diff --git a/nbd/server.c b/nbd/server.c index 1ec79cf..4313530 100644 --- a/nbd/server.c +++ b/nbd/server.c @@ -16,6 +16,7 @@ * along with this program; if not, see <http://www.gnu.org/licenses/>. */ +#include "qemu/osdep.h" #include "nbd-internal.h" static int system_errno_to_nbd_errno(int err) |