]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/network/netdev/veth.c
tree-wide: make sure net/if.h is included before any linux/ header
[thirdparty/systemd.git] / src / network / netdev / veth.c
index e0f5b4ebb1a7c61a2046a981c4cbdb5d42a5ee07..78555286d1a4cc86a4765e8908b5ef8c080caeb6 100644 (file)
@@ -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"