libnl/libnl-1.1-vlan_flags.patch

16 lines
427 B
Diff
Raw Normal View History

diff -Nru libnl-1.1.orig//lib/route/link/vlan.c libnl-1.1/lib/route/link/vlan.c
--- libnl-1.1.orig//lib/route/link/vlan.c 2010-04-30 17:34:00.305578537 +0200
+++ libnl-1.1/lib/route/link/vlan.c 2010-04-30 17:34:29.563827551 +0200
@@ -28,9 +28,11 @@
#include <linux/if_vlan.h>
+#ifndef _LINUX_IF_VLAN_H_
enum vlan_flags {
VLAN_FLAG_REORDER_HDR = 0x1,
};
+#endif
/** @cond SKIP */
#define VLAN_HAS_ID (1<<0)