From cff573d3a455c20d427e70db84fd2acfe59194d1 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 18 Mar 2011 22:08:39 +0000 Subject: DirectHW fixes for coreboot utilities See http://www.coreboot.org/DirectHW for more information Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6454 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/nvramtool/Makefile | 2 +- util/nvramtool/accessors/cmos-hw-unix.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'util/nvramtool') diff --git a/util/nvramtool/Makefile b/util/nvramtool/Makefile index e0054cde34..a75c70da5c 100644 --- a/util/nvramtool/Makefile +++ b/util/nvramtool/Makefile @@ -37,7 +37,7 @@ OBJS += $(CLI_OBJS) OS_ARCH = $(shell uname) ifeq ($(OS_ARCH), Darwin) -LDFLAGS = -framework DirectIO +LDFLAGS = -framework DirectHW endif ifeq ($(OS_ARCH), NetBSD) LDFLAGS = -l$(shell uname -p) diff --git a/util/nvramtool/accessors/cmos-hw-unix.c b/util/nvramtool/accessors/cmos-hw-unix.c index 24cc42d2dd..6d42cb57ee 100644 --- a/util/nvramtool/accessors/cmos-hw-unix.c +++ b/util/nvramtool/accessors/cmos-hw-unix.c @@ -15,7 +15,7 @@ #include #endif #if (defined(__MACH__) && defined(__APPLE__)) -#include +#include #endif #if defined(__NetBSD__) #if defined(__i386__) || defined(__x86_64__) -- cgit v1.2.3