[Mesa-dev] [PATCH] gallium: include limits.h in p_config.h

Brian Paul brian.e.paul at gmail.com
Mon May 30 06:28:10 PDT 2011


On Mon, May 30, 2011 at 4:33 AM, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> 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 at redhat.com>

Reviewed-by: Brian Paul <brianp at vmware.com>


More information about the mesa-dev mailing list