summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/i740_driver.c1
-rw-r--r--src/i740_video.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/i740_driver.c b/src/i740_driver.c
index 7a57431..d819ad9 100644
--- a/src/i740_driver.c
+++ b/src/i740_driver.c
@@ -38,6 +38,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <string.h>
#include <math.h>
+#include <unistd.h>
/*
* This server does not support these XFree86 4.0 features yet
diff --git a/src/i740_video.c b/src/i740_video.c
index 2a26f21..ca60ded 100644
--- a/src/i740_video.c
+++ b/src/i740_video.c
@@ -55,6 +55,7 @@
#include <stdio.h>
#include <string.h>
+#include <unistd.h>
#include "xf86.h"
#include "xf86_OSproc.h"