summaryrefslogtreecommitdiff
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
parentfdfce49c54dabf0f6b0d20aa7e5eeb62b5b57eda (diff)
Add more missing #include's, in particular assert.h.
-rw-r--r--ChangeLog8
-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
5 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 881e2b52..047d0ae5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2006-04-04 Kristian Høgsberg <krh@redhat.com>
+
+ * src/i810_dri.c:
+ * src/i810_driver.c:
+ * src/i830_dri.c:
+ * src/i830_driver.c: Add more missing #include's, in particular
+ assert.h.
+
2006-03-22 Kristian Høgsberg <krh@redhat.com>
* src/*.c: Drop libc wrapper; don't include xf86_ansic.h and add
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"