Mesa (master): util: include c99_compat.h in format_srgb.h to get 'inline' definition

Brian Paul brianp at kemper.freedesktop.org
Mon Aug 4 20:06:07 UTC 2014


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

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Aug  4 13:38:02 2014 -0600

util: include c99_compat.h in format_srgb.h to get 'inline' definition

Reviewed-by: Jason Ekstrand <jason.ekstrand at intel.com>

---

 src/util/format_srgb.h |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/util/format_srgb.h b/src/util/format_srgb.h
index 17ba283..4a8d73f 100644
--- a/src/util/format_srgb.h
+++ b/src/util/format_srgb.h
@@ -39,6 +39,7 @@
 
 #include <stdint.h>
 #include <math.h>
+#include "c99_compat.h"
 
 extern const float
 util_format_srgb_8unorm_to_linear_float_table[256];




More information about the mesa-commit mailing list