summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mga_dacG.c2
-rw-r--r--src/mga_driver.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/mga_dacG.c b/src/mga_dacG.c
index 6d7eac2..5f628f0 100644
--- a/src/mga_dacG.c
+++ b/src/mga_dacG.c
@@ -32,6 +32,8 @@
#include "xf86DDC.h"
+#include <stdlib.h>
+#include <unistd.h>
/*
* implementation
diff --git a/src/mga_driver.c b/src/mga_driver.c
index 88e6af5..6f4909a 100644
--- a/src/mga_driver.c
+++ b/src/mga_driver.c
@@ -97,6 +97,8 @@
#include "dri.h"
#endif
+#include <unistd.h>
+
/*
* Forward definitions for the functions that make up the driver.
*/