xf86-video-intel: Branch 'modesetting' - src/i830_bios.c src/i830_display.c src/i830_sdvo.c
Eric Anholt
anholt at kemper.freedesktop.org
Wed Sep 20 22:12:58 EEST 2006
src/i830_bios.c | 3 +++
src/i830_display.c | 4 ++++
src/i830_sdvo.c | 3 +++
3 files changed, 10 insertions(+)
New commits:
diff-tree daade50ca271d1cdf236bbe84afade85d4111ac9 (from e3f4caf40708478ef327b029d0a75944c51ea905)
Author: Linus Torvals <torvalds at osdl.org>
Date: Wed Sep 20 12:07:09 2006 -0700
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.
diff --git a/src/i830_bios.c b/src/i830_bios.c
index 556f57b..14e354e 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 2fb918a..ef7e832 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 cbc9c6b..c762541 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"
More information about the xorg-commit
mailing list