diff options
author | Brian Paul <[email protected]> | 2018-01-16 22:13:41 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-01-17 11:17:56 -0700 |
commit | 7de0262f8fa24adad8ad88f1deca8afa1373c5c3 (patch) | |
tree | 2e217dc362d8b416c8e54ec3d6744360c7a672d6 /src/mesa/main/format_fallback.py | |
parent | 484ac243f6ffd488bc359e87927f408682bd23ab (diff) |
mesa: include util/macros.h in format_fallback.c
To get definition of unreachable() macro.
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/main/format_fallback.py')
-rw-r--r-- | src/mesa/main/format_fallback.py | 1 |
1 files changed, 1 insertions, 0 deletions
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. |