summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/r128
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2003-12-05 22:24:31 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2003-12-05 22:24:31 +0000
commite412eef73f21a60161bc22e9f3b41dfa7aa2e066 (patch)
treeb09fc45be84653bee2a082612fa57e9f5501d672 /src/mesa/drivers/dri/r128
parentd907a75498360fb96ec2314bb0abb105be74d500 (diff)
fix some _SOLO build problems
Diffstat (limited to 'src/mesa/drivers/dri/r128')
-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