util: Move u_debug to utils
[mesa.git] / src / gallium / auxiliary / util / u_linear.h
index 42c40b2aa75570b29cccb37fba5ae910df0e2cb8..87e52a344d4f7ec9b2a8e26575f41305e60af799 100644 (file)
@@ -33,6 +33,7 @@
 #ifndef U_LINEAR_H
 #define U_LINEAR_H
 
+#include "pipe/p_compiler.h"
 #include "pipe/p_format.h"
 
 struct u_linear_format_block
@@ -88,7 +89,7 @@ void pipe_linear_fill_info(struct pipe_tile_info *t,
                           unsigned tile_width, unsigned tile_height,
                           unsigned tiles_x, unsigned tiles_y);
 
-static INLINE boolean pipe_linear_check_tile(const struct pipe_tile_info *t)
+static inline boolean pipe_linear_check_tile(const struct pipe_tile_info *t)
 {
    if (t->tile.size != t->block.size * t->cols * t->rows)
       return FALSE;