From: Brian Paul Date: Mon, 3 Apr 2017 14:44:10 +0000 (-0600) Subject: util: #include "c99_compat.h" to fix Windows build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=960f640c7ae2526691577e9edb355cac0bd58823;p=mesa.git util: #include "c99_compat.h" to fix Windows build Otherwise, we were getting the definition for 'inline' by chance from some other preceeding #include. Reviewed-by: Jose Fonseca Reviewed-by: Emil Velikov --- diff --git a/src/util/list.h b/src/util/list.h index 07eb9f3e6aa..6edb7501109 100644 --- a/src/util/list.h +++ b/src/util/list.h @@ -41,6 +41,7 @@ #include #include #include +#include "c99_compat.h" struct list_head diff --git a/src/util/mesa-sha1.h b/src/util/mesa-sha1.h index d3f7affecee..bde50ba1eb4 100644 --- a/src/util/mesa-sha1.h +++ b/src/util/mesa-sha1.h @@ -24,6 +24,7 @@ #define MESA_SHA1_H #include +#include "c99_compat.h" #include "sha1/sha1.h" #ifdef __cplusplus