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 de55e99..ce8d795 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)