summaryrefslogtreecommitdiff
path: root/util/superiotool/superiotool.h
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2009-09-01 09:57:55 +0000
committerStefan Reinauer <stepan@openbios.org>2009-09-01 09:57:55 +0000
commite95eb616cc987072a1a17f8b98854645fb82bfce (patch)
treed4784dc52ec22699fdcc2116fb5684415c318c23 /util/superiotool/superiotool.h
parent4db6cbd26c2913549cd3d58c6943e766ccdc6c5e (diff)
downloadcoreboot-e95eb616cc987072a1a17f8b98854645fb82bfce.tar.xz
* Add OSX/Darwin support
* Add DESTDIR support Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4623 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/superiotool/superiotool.h')
-rw-r--r--util/superiotool/superiotool.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/superiotool/superiotool.h b/util/superiotool/superiotool.h
index 5df60a785d..f9a38a1d5a 100644
--- a/util/superiotool/superiotool.h
+++ b/util/superiotool/superiotool.h
@@ -4,6 +4,7 @@
* Copyright (C) 2007 Carl-Daniel Hailfinger
* Copyright (C) 2007 Uwe Hermann <uwe@hermann-uwe.de>
* Copyright (C) 2008 Robinson P. Tryon <bishop.robinson@gmail.com>
+ * Copyright (C) 2008-2009 coresystems GmbH
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -31,6 +32,10 @@
#if defined(__GLIBC__)
#include <sys/io.h>
#endif
+#if (defined(__MACH__) && defined(__APPLE__))
+/* DirectIO is available here: http://www.coresystems.de/en/directio */
+#include <DirectIO/darwinio.h>
+#endif
#if defined(__FreeBSD__)
#include <sys/types.h>