Browse Source

contrib: 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-15-git-send-email-peter.maydell@linaro.org
stable-4.2
Peter Maydell 5 years ago
parent
commit
ccd241b5a2
  1. 2
      contrib/ivshmem-client/ivshmem-client.c
  2. 1
      contrib/ivshmem-client/main.c
  3. 2
      contrib/ivshmem-server/ivshmem-server.c
  4. 1
      contrib/ivshmem-server/main.c

2
contrib/ivshmem-client/ivshmem-client.c

@ -6,7 +6,7 @@
* top-level directory.
*/
#include <sys/types.h>
#include "qemu/osdep.h"
#include <sys/socket.h>
#include <sys/un.h>

1
contrib/ivshmem-client/main.c

@ -6,6 +6,7 @@
* top-level directory.
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "ivshmem-client.h"

2
contrib/ivshmem-server/ivshmem-server.c

@ -5,11 +5,11 @@
* (at your option) any later version. See the COPYING file in the
* top-level directory.
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "qemu/sockets.h"
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/un.h>
#ifdef CONFIG_LINUX

1
contrib/ivshmem-server/main.c

@ -6,6 +6,7 @@
* top-level directory.
*/
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "ivshmem-server.h"

Loading…
Cancel
Save