summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/r128/r128_ioctl.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r128/r128_ioctl.c b/src/mesa/drivers/dri/r128/r128_ioctl.c
index 192418c72a..7f9f7a923e 100644
--- a/src/mesa/drivers/dri/r128/r128_ioctl.c
+++ b/src/mesa/drivers/dri/r128/r128_ioctl.c
@@ -31,11 +31,11 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
* Gareth Hughes <gareth@valinux.com>
*
*/
+#include <errno.h>
#include "r128_context.h"
#include "r128_state.h"
#include "r128_ioctl.h"
-
#include "imports.h"
#include "macros.h"
@@ -43,6 +43,12 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "vblank.h"
+#ifdef _SOLO
+/* temporary - should really split r128_reg.h into r128_reg.h & r128_macros.h
+ * like the radeon */
+#include "r128_macros.h"
+#endif
+
#define R128_TIMEOUT 2048
#define R128_IDLE_RETRY 32