mirror of
https://src.fedoraproject.org/rpms/mesa.git
synced 2024-12-01 04:02:55 +00:00
354fc554a9
fix missing include on bigendian
13 lines
489 B
Diff
13 lines
489 B
Diff
diff -up mesa-20140824/src/gallium/auxiliary/util/u_math.h.be mesa-20140824/src/gallium/auxiliary/util/u_math.h
|
|
--- mesa-20140824/src/gallium/auxiliary/util/u_math.h.be 2014-08-28 15:30:32.560480333 +0200
|
|
+++ mesa-20140824/src/gallium/auxiliary/util/u_math.h 2014-08-28 15:30:56.275479755 +0200
|
|
@@ -55,6 +55,9 @@ extern "C" {
|
|
#include <strings.h> /* for ffs */
|
|
#endif
|
|
|
|
+#ifdef PIPE_ARCH_BIG_ENDIAN
|
|
+#include <assert.h>
|
|
+#endif
|
|
|
|
#ifndef M_SQRT2
|
|
#define M_SQRT2 1.41421356237309504880
|