summaryrefslogtreecommitdiffstats
path: root/extra/libnl/01-missing_declaration.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libnl/01-missing_declaration.patch')
-rw-r--r--extra/libnl/01-missing_declaration.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/libnl/01-missing_declaration.patch b/extra/libnl/01-missing_declaration.patch
new file mode 100644
index 000000000..f9301b4bc
--- /dev/null
+++ b/extra/libnl/01-missing_declaration.patch
@@ -0,0 +1,13 @@
+--- libnl-1.0/lib/route/link/vlan.c.orig 2008-01-16 22:59:21.000000000 -0800
++++ libnl-1.0/lib/route/link/vlan.c 2008-01-16 22:59:36.000000000 -0800
+@@ -27,6 +27,9 @@
+ #include <netlink/route/link/vlan.h>
+
+ #include <linux/if_vlan.h>
++#ifndef VLAN_FLAG_REORDER_HDR
++#define VLAN_FLAG_REORDER_HDR 0x01
++#endif
+
+ /** @cond SKIP */
+ #define VLAN_HAS_ID (1<<0)
+