[PATCH:intel-gpu-tools 5/6] include <fcntl.h> in lib/intel_mmio.c for open() prototype on Solaris
Alan Coopersmith
alan.coopersmith at oracle.com
Fri Jan 6 14:37:20 PST 2012
<fcntl.h> is the POSIX standard specified header for open(), so should
be available on all platforms.
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
lib/intel_mmio.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/intel_mmio.c b/lib/intel_mmio.c
index 31967d9..da68bdf 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>
--
1.7.3.2
More information about the xorg-devel
mailing list