summaryrefslogtreecommitdiff
path: root/emulators/open-vm-tools/files/patch-if_vxn.c
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2013-11-16 04:35:59 +0000
committerSteve Wills <swills@FreeBSD.org>2013-11-16 04:35:59 +0000
commit4aff9086cc4bf476a937f69d3e15d7ff270835ea (patch)
treec60c6549427577a8cba8cddadfef26968109ecd1 /emulators/open-vm-tools/files/patch-if_vxn.c
parentUpdate to Wine 1.6.1 which brings various bug fixes and translation (diff)
- Update to 9.2.3-1031360 [1]
- Fix build on CURRENT PR: ports/180471 [1] (partially) Submitted by: Douglas Carmichael <dcarmich@dcarmichael.net> [1] (partially)
Diffstat (limited to '')
-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__
+