[PATCH:xf86-video-xgi 18/19] Add unistd.h for usleep().

Thomas Klausner wiz at NetBSD.org
Thu Aug 6 05:57:16 PDT 2015


Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
 src/vb_i2c.c    | 1 +
 src/xgi_accel.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/vb_i2c.c b/src/vb_i2c.c
index 90e4630..69cdb8a 100755
--- a/src/vb_i2c.c
+++ b/src/vb_i2c.c
@@ -2,6 +2,7 @@
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
+#include <unistd.h>
 
 #include "osdef.h"
 #include "vgatypes.h"
diff --git a/src/xgi_accel.c b/src/xgi_accel.c
index d4d8d4b..c96af14 100755
--- a/src/xgi_accel.c
+++ b/src/xgi_accel.c
@@ -34,6 +34,7 @@
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
+#include <unistd.h>
 
 #include "xf86.h"
 #include "xf86_OSproc.h"
-- 
2.5.0



More information about the xorg-devel mailing list