Skip to content

Commit ccd241b

Browse files
committed
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 <[email protected]> Message-id: [email protected]
1 parent cae9fc5 commit ccd241b

File tree

4 files changed

+4
-2
lines changed

4 files changed

+4
-2
lines changed

contrib/ivshmem-client/ivshmem-client.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* top-level directory.
77
*/
88

9-
#include <sys/types.h>
9+
#include "qemu/osdep.h"
1010
#include <sys/socket.h>
1111
#include <sys/un.h>
1212

contrib/ivshmem-client/main.c

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* top-level directory.
77
*/
88

9+
#include "qemu/osdep.h"
910
#include "qemu-common.h"
1011

1112
#include "ivshmem-client.h"

contrib/ivshmem-server/ivshmem-server.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
* (at your option) any later version. See the COPYING file in the
66
* top-level directory.
77
*/
8+
#include "qemu/osdep.h"
89
#include "qemu-common.h"
910
#include "qemu/sockets.h"
1011

1112
#include <sys/mman.h>
12-
#include <sys/types.h>
1313
#include <sys/socket.h>
1414
#include <sys/un.h>
1515
#ifdef CONFIG_LINUX

contrib/ivshmem-server/main.c

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* top-level directory.
77
*/
88

9+
#include "qemu/osdep.h"
910
#include "qemu-common.h"
1011

1112
#include "ivshmem-server.h"

0 commit comments

Comments
 (0)