util: include u_endian.h in u_math.h
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 5 Sep 2019 19:51:30 +0000 (20:51 +0100)
committerAdam Jackson <ajax@nwnk.net>
Fri, 6 Sep 2019 19:52:50 +0000 (19:52 +0000)
commit5a7fe0ae992a4bf623578cf7bf8c3451940d57be
treeb9cd4d6eb3d5808ea83e7411d0254202b58816f0
parent3b1a7e5333335900293935399ce49a67562eafc7
util: include u_endian.h in u_math.h

u_endian.h needs to be included, otherwise PIPE_ARCH_BIG_ENDIAN might not
be defined on big-endian architectures and the endian conversion macros
will be incorrect.

I don't think anything is broken because of this, I just noticed this when
looking at the file.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/util/u_math.h