opnsense-ports/sysutils/x86info/files/patch-mptable.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

12 lines
343 B
C

--- mptable.c.orig 2011-09-15 15:37:32.000000000 -0700
+++ mptable.c 2011-09-15 15:37:46.000000000 -0700
@@ -37,7 +37,9 @@
#include "mptable.h"
#include "x86info.h"
+#ifndef __FreeBSD__
typedef unsigned long vm_offset_t;
+#endif
/* EBDA is @ 40:0e in real-mode terms */
#define EBDA_POINTER 0x040e /* location of EBDA pointer */