From 7de0262f8fa24adad8ad88f1deca8afa1373c5c3 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 16 Jan 2018 22:13:41 -0700 Subject: mesa: include util/macros.h in format_fallback.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To get definition of unreachable() macro. Reviewed-by: Nicolai Hähnle --- src/mesa/main/format_fallback.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mesa/main/format_fallback.py') diff --git a/src/mesa/main/format_fallback.py b/src/mesa/main/format_fallback.py index 2f02d0d82bb..4a2b85cecb3 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. -- cgit v1.2.3