From 5e4fb9cacae8e088bbd8aa86c8c78d24185e9b66 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 28 Aug 2015 15:41:09 +0000 Subject: [PATCH] Add missing ofw_machdep.h. Make x86 ofw_machdep.h work pc98 too. This allows the owc module to compile on pc98 and seems preferable to adding another special case in the build system. --- sys/pc98/include/ofw_machdep.h | 6 ++++++ sys/x86/include/ofw_machdep.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 sys/pc98/include/ofw_machdep.h diff --git a/sys/pc98/include/ofw_machdep.h b/sys/pc98/include/ofw_machdep.h new file mode 100644 index 000000000000..196a3961471f --- /dev/null +++ b/sys/pc98/include/ofw_machdep.h @@ -0,0 +1,6 @@ +/*- + * This file is in the public domain. + */ +/* $FreeBSD$ */ + +#include diff --git a/sys/x86/include/ofw_machdep.h b/sys/x86/include/ofw_machdep.h index 8344f56d65a9..815d620ec1a8 100644 --- a/sys/x86/include/ofw_machdep.h +++ b/sys/x86/include/ofw_machdep.h @@ -29,7 +29,7 @@ #ifndef _MACHINE_OFW_MACHDEP_H_ #define _MACHINE_OFW_MACHDEP_H_ -#include +#include #include typedef uint32_t cell_t;