diff options
author | Brian Paul <[email protected]> | 2017-04-03 08:44:10 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-04-03 13:09:05 -0600 |
commit | 960f640c7ae2526691577e9edb355cac0bd58823 (patch) | |
tree | 150644a45ea8773f63be85adf953a0643bbd60db | |
parent | 0fb2c16b3b83f27baed1a3b0bb608b117a725f80 (diff) |
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 <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
-rw-r--r-- | src/util/list.h | 1 | ||||
-rw-r--r-- | src/util/mesa-sha1.h | 1 |
2 files changed, 2 insertions, 0 deletions
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 <stdbool.h> #include <stddef.h> #include <assert.h> +#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 <stdlib.h> +#include "c99_compat.h" #include "sha1/sha1.h" #ifdef __cplusplus |