To get definition of unreachable() macro.
---
 src/mesa/main/format_fallback.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/main/format_fallback.py b/src/mesa/main/format_fallback.py
index 2f02d0d..4a2b85c 100644
--- a/src/mesa/main/format_fallback.py
+++ b/src/mesa/main/format_fallback.py
@@ -87,6 +87,7 @@ def get_rgbx_to_rgba_map(formats):
 
 TEMPLATE = Template(COPYRIGHT + """
 #include "formats.h"
+#include "util/macros.h"
 
 /**
  * For an sRGB format, return the corresponding linear color space format.
-- 
2.7.4

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to