summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2018-01-16 22:13:41 -0700
committerBrian Paul <[email protected]>2018-01-17 11:17:56 -0700
commit7de0262f8fa24adad8ad88f1deca8afa1373c5c3 (patch)
tree2e217dc362d8b416c8e54ec3d6744360c7a672d6
parent484ac243f6ffd488bc359e87927f408682bd23ab (diff)
mesa: include util/macros.h in format_fallback.c
To get definition of unreachable() macro. Reviewed-by: Nicolai Hähnle <[email protected]>
-rw-r--r--src/mesa/main/format_fallback.py1
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.