[Mesa-dev] [PATCH] util: include c99_compat.h in format_srgb.h to get 'inline' definition

Brian Paul brianp at vmware.com
Mon Aug 4 12:38:10 PDT 2014


---
 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];
-- 
1.7.10.4



More information about the mesa-dev mailing list