aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe/p_config.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2011-05-30 20:21:16 +1000
committerDave Airlie <[email protected]>2011-05-31 17:28:48 +1000
commitd2ede5e64809915a9432bd8aa77f56bd82935f3b (patch)
tree13ddb40d79d59182a6b4e711a45145780a6bd4d3 /src/gallium/include/pipe/p_config.h
parent0cdd82df53a55907b311ede0e80c3ce2fb37f287 (diff)
gallium: include limits.h in p_config.h
We are getting inconsistent methods for endian detection (same answer when it works, just doesn't work on some platforms) depending on whether __GLIBC__ is defined, which of course depends on include ordering before p_config.h Just make p_config.h include limits.h to solve this. Signed-off-by: Dave Airlie <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe/p_config.h')
-rw-r--r--src/gallium/include/pipe/p_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_config.h b/src/gallium/include/pipe/p_config.h
index 1818c8b9e9a..40f6f2bcb5f 100644
--- a/src/gallium/include/pipe/p_config.h
+++ b/src/gallium/include/pipe/p_config.h
@@ -46,7 +46,7 @@
#ifndef P_CONFIG_H_
#define P_CONFIG_H_
-
+#include <limits.h>
/*
* Compiler
*/