Mesa (mesa_7_5_branch): gallium: Ensure assert macro is defined before being used in p_thread.h

Jose Fonseca jrfonseca at kemper.freedesktop.org
Mon Jun 15 19:28:22 UTC 2009


Module: Mesa
Branch: mesa_7_5_branch
Commit: 940cb7ce163664778f7055953392fb43d5fc31fc
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=940cb7ce163664778f7055953392fb43d5fc31fc

Author: José Fonseca <jfonseca at vmware.com>
Date:   Mon Jun 15 18:57:45 2009 +0100

gallium: Ensure assert macro is defined before being used in p_thread.h

---

 src/gallium/include/pipe/p_thread.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/include/pipe/p_thread.h b/src/gallium/include/pipe/p_thread.h
index de55e99..ce8d795 100644
--- a/src/gallium/include/pipe/p_thread.h
+++ b/src/gallium/include/pipe/p_thread.h
@@ -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)




More information about the mesa-commit mailing list