summaryrefslogtreecommitdiff
path: root/emulators/open-vm-tools/files/patch-if_vxn.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/open-vm-tools/files/patch-if_vxn.c')
-rw-r--r--emulators/open-vm-tools/files/patch-if_vxn.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/emulators/open-vm-tools/files/patch-if_vxn.c b/emulators/open-vm-tools/files/patch-if_vxn.c
new file mode 100644
index 000000000000..4ecf23373968
--- /dev/null
+++ b/emulators/open-vm-tools/files/patch-if_vxn.c
@@ -0,0 +1,13 @@
+--- modules/freebsd/vmxnet/if_vxn.c.orig 2013-11-16 03:47:08.000000000 +0000
++++ modules/freebsd/vmxnet/if_vxn.c 2013-11-16 03:51:10.000000000 +0000
+@@ -76,6 +76,10 @@
+ #include <pci/pcivar.h>
+ #endif
+
++#if __FreeBSD_version >= 1100001
++#include <net/if_var.h>
++#endif
++
+ /* define INLINE the way gcc likes it */
+ #define INLINE __inline__
+