]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/libsystemd-network/test-acd.c
tree-wide: make sure net/if.h is included before any linux/ header
[thirdparty/systemd.git] / src / libsystemd-network / test-acd.c
index 4b5ad70cf15302d7f54f17d0bc116d429779362b..6ed7260a72bec8cd0496379e3b3a5466aa6f0e4a 100644 (file)
@@ -1,11 +1,12 @@
 /* SPDX-License-Identifier: LGPL-2.1-or-later */
 
+/* Make sure the net/if.h header is included before any linux/ one */
+#include <net/if.h>
 #include <errno.h>
+#include <linux/veth.h>
 #include <stdlib.h>
 #include <unistd.h>
 
-#include <linux/veth.h>
-#include <net/if.h>
 
 #include "sd-event.h"
 #include "sd-ipv4acd.h"