[PATCH 7/9] Add missing <unistd.h>, <fcntl.h>, <sys/stat.h> includes
Ben Gamari
bgamari.foss at gmail.com
Sun Jun 14 00:36:36 PDT 2009
---
hw/xfree86/os-support/shared/bios_mmap.c | 5 ++++-
hw/xfree86/os-support/shared/posix_tty.c | 4 ++++
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/hw/xfree86/os-support/shared/bios_mmap.c b/hw/xfree86/os-support/shared/bios_mmap.c
index 40afd5b..64fa370 100644
--- a/hw/xfree86/os-support/shared/bios_mmap.c
+++ b/hw/xfree86/os-support/shared/bios_mmap.c
@@ -25,8 +25,11 @@
#include <xorg-config.h>
#endif
-#include <X11/X.h>
+#include <unistd.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+#include <X11/X.h>
#include "xf86.h"
#include "xf86Priv.h"
#include "xf86_OSlib.h"
diff --git a/hw/xfree86/os-support/shared/posix_tty.c b/hw/xfree86/os-support/shared/posix_tty.c
index bf1bb03..8690edc 100644
--- a/hw/xfree86/os-support/shared/posix_tty.c
+++ b/hw/xfree86/os-support/shared/posix_tty.c
@@ -56,6 +56,10 @@
#include <xorg-config.h>
#endif
+#include <unistd.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+
#include <X11/X.h>
#include "xf86.h"
#include "xf86Priv.h"
--
1.6.3.1
More information about the xorg
mailing list