Mailinglist Archive: radeonhd (312 mails)
| < Previous | Next > |
[radeonhd] build fix
- From: "Alex Deucher" <alexdeucher@xxxxxxxxx>
- Date: Fri, 1 Feb 2008 11:39:47 -0500
- Message-id: <a728f9f90802010839j39502ffcqf9b0aaf3ffe85c22@xxxxxxxxxxxxxx>
Need to include string.h in r5xx_exa.c
Alex
diff --git a/src/r5xx_exa.c b/src/r5xx_exa.c
index bc1b1ec..f1da5da 100644
--- a/src/r5xx_exa.c
+++ b/src/r5xx_exa.c
@@ -38,6 +38,12 @@
#include "xf86.h"
#include "exa.h"
+#if HAVE_XF86_ANSIC_H
+# include "xf86_ansic.h"
+#else
+#include <string.h>
+#endif
+
#include "rhd.h"
#include "r5xx_accel.h"
#include "r5xx_2dregs.h"
Alex
diff --git a/src/r5xx_exa.c b/src/r5xx_exa.c
index bc1b1ec..f1da5da 100644
--- a/src/r5xx_exa.c
+++ b/src/r5xx_exa.c
@@ -38,6 +38,12 @@
#include "xf86.h"
#include "exa.h"
+#if HAVE_XF86_ANSIC_H
+# include "xf86_ansic.h"
+#else
+#include <string.h>
+#endif
+
#include "rhd.h"
#include "r5xx_accel.h"
#include "r5xx_2dregs.h"
| < Previous | Next > |