gallium: Ensure assert macro is defined before being used in p_thread.h
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 15 Jun 2009 17:57:45 +0000 (18:57 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Mon, 15 Jun 2009 17:57:45 +0000 (18:57 +0100)
src/gallium/include/pipe/p_thread.h

index de55e99ed49c0d163549c40ad5f9e2e4cbd59ea1..ce8d79549ad2659afae31337108ff35fb5b8b541 100644 (file)
@@ -36,6 +36,7 @@
 
 
 #include "pipe/p_compiler.h"
+#include "util/u_debug.h" /* for assert */
 
 
 #if defined(PIPE_OS_LINUX) || defined(PIPE_OS_BSD) || defined(PIPE_OS_SOLARIS)