summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/svga/include')
-rw-r--r--src/gallium/drivers/svga/include/svga_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/svga/include/svga_types.h b/src/gallium/drivers/svga/include/svga_types.h
index 7fd9bab03a5..7a99f3417f9 100644
--- a/src/gallium/drivers/svga/include/svga_types.h
+++ b/src/gallium/drivers/svga/include/svga_types.h
@@ -28,6 +28,7 @@
#include "pipe/p_compiler.h"
+#ifndef __HAIKU__
typedef int64_t int64;
typedef uint64_t uint64;
@@ -39,6 +40,9 @@ typedef uint16_t uint16;
typedef int8_t int8;
typedef uint8_t uint8;
+#else
+#include <OS.h>
+#endif /* HAIKU */
typedef uint8_t Bool;