[PATCH 2/9] Add missing file i/o headers

Ben Gamari bgamari.foss at gmail.com
Sun Jun 14 00:36:31 PDT 2009


To fix compiler errors for open(), close(), flags, etc.
---
 hw/xfree86/os-support/bus/linuxPci.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/hw/xfree86/os-support/bus/linuxPci.c b/hw/xfree86/os-support/bus/linuxPci.c
index e210fa1..8f1c85e 100644
--- a/hw/xfree86/os-support/bus/linuxPci.c
+++ b/hw/xfree86/os-support/bus/linuxPci.c
@@ -49,6 +49,10 @@
 #endif
 
 #include <stdio.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+#include <unistd.h>
+
 #include "compiler.h"
 #include "xf86.h"
 #include "xf86Priv.h"
-- 
1.6.3.1




More information about the xorg mailing list