summaryrefslogtreecommitdiff
path: root/lib/intel_mmio.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2012-01-06 14:37:20 -0800
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-01-08 21:49:03 +0100
commit4e3c85f153276fc297570364b71ddbdd37aeaf5a (patch)
tree8944a2a8e707f6df422dca3fedce00c16fdab6bc /lib/intel_mmio.c
parentc461006bac8a3ff1196a83449bd1676778e8844f (diff)
include <fcntl.h> in lib/intel_mmio.c for open() prototype on Solaris
<fcntl.h> is the POSIX standard specified header for open(), so should be available on all platforms. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'lib/intel_mmio.c')
-rw-r--r--lib/intel_mmio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/intel_mmio.c b/lib/intel_mmio.c
index 31967d99..da68bdf3 100644
--- a/lib/intel_mmio.c
+++ b/lib/intel_mmio.c
@@ -27,6 +27,7 @@
*/
#include <unistd.h>
+#include <fcntl.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>