Fix Build on -CURRENT

PR:		46094
Submitted by:	Sean Kelly <smkelly@zombie.org>
This commit is contained in:
Tilman Keskinoz
2002-12-10 16:59:15 +00:00
parent 4a98aa58a9
commit 41d6005f81
4 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
--- getMB-isa.c.orig Tue Dec 10 08:56:28 2002
+++ getMB-isa.c Tue Dec 10 08:57:21 2002
@@ -8,6 +8,7 @@
#include <fcntl.h>
#ifndef LINUX /* FreeBSD */
+#include <sys/types.h>
#include <machine/cpufunc.h>
#define OUTb(x,y) outb((x),(y))
#define WAIT outb(0xEB,0x00)

View File

@@ -0,0 +1,10 @@
--- getMB-via.c.orig Tue Dec 10 08:56:53 2002
+++ getMB-via.c Tue Dec 10 08:59:07 2002
@@ -11,6 +11,7 @@
#include <fcntl.h>
#ifndef LINUX /* FreeBSD */
+#include <sys/types.h>
#include <machine/cpufunc.h>
#define OUTb(x,y) outb((x),(y))
#define WAIT outb(0xEB,0x00)

View File

@@ -0,0 +1,10 @@
--- getMB-isa.c.orig Tue Dec 10 08:56:28 2002
+++ getMB-isa.c Tue Dec 10 08:57:21 2002
@@ -8,6 +8,7 @@
#include <fcntl.h>
#ifndef LINUX /* FreeBSD */
+#include <sys/types.h>
#include <machine/cpufunc.h>
#define OUTb(x,y) outb((x),(y))
#define WAIT outb(0xEB,0x00)

View File

@@ -0,0 +1,10 @@
--- getMB-via.c.orig Tue Dec 10 08:56:53 2002
+++ getMB-via.c Tue Dec 10 08:59:07 2002
@@ -11,6 +11,7 @@
#include <fcntl.h>
#ifndef LINUX /* FreeBSD */
+#include <sys/types.h>
#include <machine/cpufunc.h>
#define OUTb(x,y) outb((x),(y))
#define WAIT outb(0xEB,0x00)