new file mode 100644
@@ -0,0 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/* Copyright (c) 2021 Petr Vorel <petr.vorel@gmail.com> */
+
+#ifndef LAPI_IF_ADDR_H__
+# define LAPI_IF_ADDR_H__
+
+#include <linux/rtnetlink.h>
+
+#ifndef IFA_FLAGS
+# define IFA_FLAGS 8
+#endif
+
+#endif /* LAPI_IF_ADDR_H__ */
@@ -5,10 +5,11 @@
#include <asm/types.h>
#include <linux/netlink.h>
-#include <linux/rtnetlink.h>
#include <linux/veth.h>
#include <sys/socket.h>
#include <net/if.h>
+#include "lapi/rtnetlink.h"
+
#define TST_NO_DEFAULT_MAIN
#include "tst_test.h"
#include "tst_rtnetlink.h"