SHA256
1
0
forked from pool/Mesa
Mesa/u_be_assert_include.patch

28 lines
756 B
Diff
Raw Normal View History

From 83349c31a0e0997ea79bd2832cf9b80e7e22bbc0 Mon Sep 17 00:00:00 2001
From: Dinar Valeev <dvaleev@suse.com>
Date: Mon, 29 Sep 2014 11:48:01 +0000
Subject: [PATCH] Fix missing include for BigEndian systems
Patch-Mainline: "To be upstreamed"
Signed-off-by: Dinar Valeev <dvaleev@suse.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 39bd40f..d4e3c12 100644
--- a/src/gallium/auxiliary/util/u_math.h
+++ b/src/gallium/auxiliary/util/u_math.h
@@ -51,6 +51,7 @@ extern "C" {
#include <math.h>
#include <float.h>
#include <stdarg.h>
+#include <assert.h>
#ifdef PIPE_OS_UNIX
#include <strings.h> /* for ffs */
--
1.7.12.4