From 9eaeedd54b8c2bc207360e9ef15d2d7675c972f4 Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Fri, 11 Oct 2019 15:57:29 +0200 Subject: [PATCH] nir/builtin: Add #include u_math.h to the header The inline functions use M_PI so they should include a header to make sure it is defined. Reviewed-by: Kristian H. Kristensen --- src/compiler/nir/nir_builtin_builder.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/nir/nir_builtin_builder.h b/src/compiler/nir/nir_builtin_builder.h index 519938f8bfe..22115ada241 100644 --- a/src/compiler/nir/nir_builtin_builder.h +++ b/src/compiler/nir/nir_builtin_builder.h @@ -24,6 +24,7 @@ #ifndef NIR_BUILTIN_BUILDER_H #define NIR_BUILTIN_BUILDER_H +#include "util/u_math.h" #include "nir/nir_builder.h" /* -- 2.30.2