summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2006-04-04 18:22:32 +0000
committerKristian Høgsberg <krh@redhat.com>2006-04-04 18:22:32 +0000
commit6e5f9b026372eea295c390b18fc41f7018e0e797 (patch)
tree84812ef56796431d61bf2664c01628a4a8ec70bd /src
parentfdfce49c54dabf0f6b0d20aa7e5eeb62b5b57eda (diff)
Add more missing #include's, in particular assert.h.
Diffstat (limited to 'src')
-rw-r--r--src/i810_dri.c1
-rw-r--r--src/i810_driver.c1
-rw-r--r--src/i830_dri.c1
-rw-r--r--src/i830_driver.c2
4 files changed, 5 insertions, 0 deletions
diff --git a/src/i810_dri.c b/src/i810_dri.c
index 2257ee58..f75e88c3 100644
--- a/src/i810_dri.c
+++ b/src/i810_dri.c
@@ -19,6 +19,7 @@
#include <errno.h>
#include <stdio.h>
#include <string.h>
+#include <assert.h>
#include "xf86.h"
#include "xf86_OSproc.h"
diff --git a/src/i810_driver.c b/src/i810_driver.c
index ac50f7dc..6fdeaf0d 100644
--- a/src/i810_driver.c
+++ b/src/i810_driver.c
@@ -62,6 +62,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <math.h>
#include <string.h>
+#include <unistd.h>
/*
* These are X and server generic header files.
diff --git a/src/i830_dri.c b/src/i830_dri.c
index 283b513b..e298ae34 100644
--- a/src/i830_dri.c
+++ b/src/i830_dri.c
@@ -64,6 +64,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#include <stdio.h>
#include <string.h>
+#include <assert.h>
#include "xf86.h"
#include "xf86_OSproc.h"
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 2a356d30..7ce982f9 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -161,6 +161,8 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#endif
#include <string.h>
+#include <unistd.h>
+#include <stdlib.h>
#include "xf86.h"
#include "xf86_OSproc.h"