[Mesa-dev] [PATCH] u_math: uses assert, include assert.h

Brian Paul brianp at vmware.com
Thu May 21 07:27:15 PDT 2015


On 05/20/2015 06:56 PM, Dave Airlie wrote:
> From: Dave Airlie <airlied at redhat.com>
>
> this fixes a build problem found on RHEL s390.
>
> not sure what configure options caused it, I couldn't get it on
> x86 here.
>
> Cc: "10.6" mesa-stable at lists.freedesktop.org
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>   src/gallium/auxiliary/util/u_math.h | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/src/gallium/auxiliary/util/u_math.h b/src/gallium/auxiliary/util/u_math.h
> index 3d27a59..58070a9 100644
> --- a/src/gallium/auxiliary/util/u_math.h
> +++ b/src/gallium/auxiliary/util/u_math.h
> @@ -42,6 +42,7 @@
>   #include "pipe/p_compiler.h"
>
>   #include "c99_math.h"
> +#include <assert.h>
>   #include <float.h>
>   #include <stdarg.h>
>
>

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



More information about the mesa-dev mailing list