[Mesa-dev] [PATCH 2/3] util: #include "c99_compat.h" to fix Windows build
Jose Fonseca
jfonseca at vmware.com
Mon Apr 3 16:35:54 UTC 2017
On 03/04/17 17:09, Brian Paul wrote:
> Otherwise, we were getting the definition for 'inline' by chance from
> some other preceeding #include.
> ---
> src/util/list.h | 1 +
> src/util/mesa-sha1.h | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/src/util/list.h b/src/util/list.h
> index 07eb9f3..6edb750 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 d3f7aff..bde50ba 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
>
Looks good.
Series is
Reviewed-by: Jose Fonseca <jfonseca at vmware.com>
More information about the mesa-dev
mailing list