Skip to content

Commit

Permalink
contrib: Clean up includes
Browse files Browse the repository at this point in the history
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 <[email protected]>
Message-id: [email protected]
  • Loading branch information
pm215 committed Feb 4, 2016
1 parent cae9fc5 commit ccd241b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contrib/ivshmem-client/ivshmem-client.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* top-level directory.
*/

#include <sys/types.h>
#include "qemu/osdep.h"
#include <sys/socket.h>
#include <sys/un.h>

Expand Down
1 change: 1 addition & 0 deletions contrib/ivshmem-client/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* top-level directory.
*/

#include "qemu/osdep.h"
#include "qemu-common.h"

#include "ivshmem-client.h"
Expand Down
2 changes: 1 addition & 1 deletion contrib/ivshmem-server/ivshmem-server.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions contrib/ivshmem-server/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
* top-level directory.
*/

#include "qemu/osdep.h"
#include "qemu-common.h"

#include "ivshmem-server.h"
Expand Down

0 comments on commit ccd241b

Please sign in to comment.