]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/network/test-network-tables.c
tree-wide: make sure net/if.h is included before any linux/ header
[thirdparty/systemd.git] / src / network / test-network-tables.c
index 564ca096099ada89acfa95ac4f2f17555e88b929..96f5b4d705aedb460434f4bb9ccf35523981cf95 100644 (file)
@@ -1,5 +1,9 @@
 /* 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 <linux/if.h>
+
 #include "bond.h"
 #include "dhcp6-internal.h"
 #include "dhcp6-protocol.h"