1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/emulators/vmware2/files/filedesc.patch
Alexander Langer dde1455600 Make this port build on CURRENT systems older than 2003/01/01 (abusing
OSVERSION of 5.0-RELEASE for this)
- include sys/filedesc.h where required
- define M_WAITOK to 0 until THEY found a solution.
2003-02-11 21:42:52 +00:00

33 lines
926 B
Diff

--- vmnet-only/freebsd/vmnet_linux.c.orig Tue Feb 11 22:12:40 2003
+++ vmnet-only/freebsd/vmnet_linux.c Tue Feb 11 22:25:20 2003
@@ -32,6 +32,7 @@
#include <sys/socket.h>
#include <sys/proc.h>
#include <sys/file.h>
+#include <sys/filedesc.h>
#include <net/if.h>
--- vmmon-only/freebsd/driver.c.orig Tue Feb 11 22:12:39 2003
+++ vmmon-only/freebsd/driver.c Tue Feb 11 22:22:35 2003
@@ -45,8 +45,9 @@
#include <sys/kernel.h>
#include <sys/module.h>
#include <sys/conf.h>
#include <sys/selinfo.h>
#include <sys/fcntl.h>
+#include <sys/filedesc.h>
#include <sys/malloc.h>
#include <sys/proc.h>
#include <sys/ioccom.h>
--- vmmon-only/freebsd/linux_emu.c.orig Tue Feb 11 22:12:40 2003
+++ vmmon-only/freebsd/linux_emu.c Tue Feb 11 22:24:42 2003
@@ -36,6 +36,7 @@
#include <sys/disklabel.h>
#include <sys/cdio.h>
#include <sys/file.h>
+#include <sys/filedesc.h>
#include <sys/selinfo.h>
#include <sys/fdcio.h>