summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlan Hourihane <[email protected]>2003-12-05 22:24:31 +0000
committerAlan Hourihane <[email protected]>2003-12-05 22:24:31 +0000
commite412eef73f21a60161bc22e9f3b41dfa7aa2e066 (patch)
treeb09fc45be84653bee2a082612fa57e9f5501d672 /src
parentd907a75498360fb96ec2314bb0abb105be74d500 (diff)
fix some _SOLO build problems
Diffstat (limited to 'src')
-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 192418c72a9..7f9f7a923ea 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 <[email protected]>
*
*/
+#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