diff options
author | José Fonseca <[email protected]> | 2010-02-03 22:15:53 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-02-03 22:15:53 +0000 |
commit | e0da333d6b5027609579110b3df8d5ad2127307a (patch) | |
tree | 53129a4eb4db64b9a8f1f64d9489d1dd86921099 /src/gallium/auxiliary/util/u_prim.h | |
parent | 45dac0d82a5a69166e86dce77c2550f7512c541e (diff) |
util: Don't include system headers inside extern "C" { ... }
That breaks when some of the system headers have C++ code.
Diffstat (limited to 'src/gallium/auxiliary/util/u_prim.h')
-rw-r--r-- | src/gallium/auxiliary/util/u_prim.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/util/u_prim.h b/src/gallium/auxiliary/util/u_prim.h index 799e8f168f1..64390e13851 100644 --- a/src/gallium/auxiliary/util/u_prim.h +++ b/src/gallium/auxiliary/util/u_prim.h @@ -30,13 +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" -#include "util/u_debug.h" - static INLINE boolean u_validate_pipe_prim( unsigned pipe_prim, unsigned nr ) { boolean ok = TRUE; |