gallium: include limits.h in p_config.h
authorDave Airlie <airlied@redhat.com>
Mon, 30 May 2011 10:21:16 +0000 (20:21 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 31 May 2011 07:28:48 +0000 (17:28 +1000)
commitd2ede5e64809915a9432bd8aa77f56bd82935f3b
tree13ddb40d79d59182a6b4e711a45145780a6bd4d3
parent0cdd82df53a55907b311ede0e80c3ce2fb37f287
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 <airlied@redhat.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/include/pipe/p_config.h