summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2008-08-25 10:42:00 +0200
committerMichal Krol <[email protected]>2008-08-25 10:42:25 +0200
commit2c4661f8fce8a27f2082c6ac498f9fb188878476 (patch)
tree4790c866b74eb9b49b1086c26b1cd86140719e6b /src/gallium
parent6fd2feaad7029a2f6d02bcf7039cbe72f53c615c (diff)
gallium: Add missing includes.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/util/u_memory.h2
-rw-r--r--src/gallium/drivers/i915simple/i915_fpc_emit.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_memory.h b/src/gallium/auxiliary/util/u_memory.h
index 148a5cb9972..ec32d60fbe7 100644
--- a/src/gallium/auxiliary/util/u_memory.h
+++ b/src/gallium/auxiliary/util/u_memory.h
@@ -51,7 +51,7 @@
/* memory debugging */
-#include "p_debug.h"
+#include "pipe/p_debug.h"
#define MALLOC( _size ) \
debug_malloc( __FILE__, __LINE__, __FUNCTION__, _size )
diff --git a/src/gallium/drivers/i915simple/i915_fpc_emit.c b/src/gallium/drivers/i915simple/i915_fpc_emit.c
index 4bdeefb449b..b054ce41d39 100644
--- a/src/gallium/drivers/i915simple/i915_fpc_emit.c
+++ b/src/gallium/drivers/i915simple/i915_fpc_emit.c
@@ -28,6 +28,7 @@
#include "i915_reg.h"
#include "i915_context.h"
#include "i915_fpc.h"
+#include "util/u_math.h"
#define A0_DEST( reg ) (((reg)&UREG_TYPE_NR_MASK)>>UREG_A0_DEST_SHIFT_LEFT)