From: Neil Roberts Date: Fri, 11 Oct 2019 13:57:29 +0000 (+0200) Subject: nir/builtin: Add #include u_math.h to the header X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9eaeedd54b8c2bc207360e9ef15d2d7675c972f4;p=mesa.git 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 --- 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" /*