[PATCH 4/9] Add missing <unistd.h>, <sys/stat.h>, <fcntl.h> includes

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


---
 hw/xfree86/os-support/linux/lnx_agp.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/hw/xfree86/os-support/linux/lnx_agp.c b/hw/xfree86/os-support/linux/lnx_agp.c
index 6143740..705b457 100644
--- a/hw/xfree86/os-support/linux/lnx_agp.c
+++ b/hw/xfree86/os-support/linux/lnx_agp.c
@@ -19,6 +19,9 @@
 #include "xf86OSpriv.h"
 
 #if defined(linux)
+#include <unistd.h>
+#include <sys/stat.h>
+#include <fcntl.h>
 #include <asm/ioctl.h>
 #include <linux/agpgart.h>
 #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
-- 
1.6.3.1




More information about the xorg mailing list