diff options
Diffstat (limited to 'src/network/netdev/veth.c')
-rw-r--r-- | src/network/netdev/veth.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/network/netdev/veth.c b/src/network/netdev/veth.c index e0f5b4e..7855528 100644 --- a/src/network/netdev/veth.c +++ b/src/network/netdev/veth.c @@ -1,10 +1,11 @@ /* SPDX-License-Identifier: LGPL-2.1-or-later */ -#include <errno.h> +/* Make sure the net/if.h header is included before any linux/ one */ #include <net/if.h> -#include <netinet/in.h> +#include <errno.h> #include <linux/if_arp.h> #include <linux/veth.h> +#include <netinet/in.h> #include "netlink-util.h" #include "veth.h" |