summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/util/u_prim.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/util/u_prim.h')
-rw-r--r--src/gallium/auxiliary/util/u_prim.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_prim.h b/src/gallium/auxiliary/util/u_prim.h
index 10a874f341..64390e1385 100644
--- a/src/gallium/auxiliary/util/u_prim.h
+++ b/src/gallium/auxiliary/util/u_prim.h
@@ -30,12 +30,13 @@
#define U_BLIT_H
+#include "pipe/p_defines.h"
+#include "util/u_debug.h"
+
#ifdef __cplusplus
extern "C" {
#endif
-#include "pipe/p_defines.h"
-
static INLINE boolean u_validate_pipe_prim( unsigned pipe_prim, unsigned nr )
{
boolean ok = TRUE;