fix some _SOLO build problems
authorAlan Hourihane <alanh@tungstengraphics.com>
Fri, 5 Dec 2003 22:24:31 +0000 (22:24 +0000)
committerAlan Hourihane <alanh@tungstengraphics.com>
Fri, 5 Dec 2003 22:24:31 +0000 (22:24 +0000)
src/mesa/drivers/dri/r128/r128_ioctl.c

index 192418c72a9f17038be78dd3568f62410e20c803..7f9f7a923ea4adca80526684f31bd78736853705 100644 (file)
@@ -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