summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLinus Torvals <torvalds@osdl.org>2006-09-20 12:07:09 -0700
committerEric Anholt <eric@anholt.net>2006-09-20 12:07:09 -0700
commitdaade50ca271d1cdf236bbe84afade85d4111ac9 (patch)
tree3c6a1c1f8702fe6fb224c44ba0ac4fed1fa2548d /src
parente3f4caf40708478ef327b029d0a75944c51ea905 (diff)
Add standard C headers to fix build on some systems after xf86_ansic.h removal.
This appears to have been hidden for others by header pollution in X Server headers.
Diffstat (limited to 'src')
-rw-r--r--src/i830_bios.c3
-rw-r--r--src/i830_display.c4
-rw-r--r--src/i830_sdvo.c3
3 files changed, 10 insertions, 0 deletions
diff --git a/src/i830_bios.c b/src/i830_bios.c
index 556f57b3..14e354ed 100644
--- a/src/i830_bios.c
+++ b/src/i830_bios.c
@@ -29,6 +29,9 @@
#undef VERSION /* XXX edid.h has a VERSION too */
#endif
+#include <stdio.h>
+#include <string.h>
+
#define _PARSE_EDID_
#include "xf86.h"
#include "i830.h"
diff --git a/src/i830_display.c b/src/i830_display.c
index 2fb918a3..ef7e8322 100644
--- a/src/i830_display.c
+++ b/src/i830_display.c
@@ -31,6 +31,10 @@
#endif
#include <unistd.h>
+#include <string.h>
+#include <assert.h>
+#include <stdlib.h>
+#include <math.h>
#include "xf86.h"
#include "i830.h"
diff --git a/src/i830_sdvo.c b/src/i830_sdvo.c
index cbc9c6b0..c7625419 100644
--- a/src/i830_sdvo.c
+++ b/src/i830_sdvo.c
@@ -26,6 +26,9 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
+
+#include <string.h>
+
#include "xf86.h"
#include "xf86_OSproc.h"
#include "compiler.h"