Mesa (master): gallium: Add c99_compat.h to u_bitcast.h

Mathias Fröhlich frohlich at kemper.freedesktop.org
Tue Aug 9 19:41:17 UTC 2016


Module: Mesa
Branch: master
Commit: aa920736feeddd1793861651e95bcd09524e024c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=aa920736feeddd1793861651e95bcd09524e024c

Author: Mathias Fröhlich <mathias.froehlich at web.de>
Date:   Sat Aug  6 07:26:59 2016 +0200

gallium: Add c99_compat.h to u_bitcast.h

We need this for 'inline'.

Signed-off-by: Mathias Fröhlich <Mathias.Froehlich at web.de>
Tested-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Brian Paul <brianp at vmware.com>

---

 src/gallium/auxiliary/util/u_bitcast.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gallium/auxiliary/util/u_bitcast.h b/src/gallium/auxiliary/util/u_bitcast.h
index b1f9938..e8fb0fe 100644
--- a/src/gallium/auxiliary/util/u_bitcast.h
+++ b/src/gallium/auxiliary/util/u_bitcast.h
@@ -30,6 +30,8 @@
 
 #include <string.h>
 
+#include "c99_compat.h"
+
 #ifdef __cplusplus
 extern "C" {
 #endif




More information about the mesa-commit mailing list