util: #include "c99_compat.h" to fix Windows build
authorBrian Paul <brianp@vmware.com>
Mon, 3 Apr 2017 14:44:10 +0000 (08:44 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 3 Apr 2017 19:09:05 +0000 (13:09 -0600)
Otherwise, we were getting the definition for 'inline' by chance from
some other preceeding #include.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/util/list.h
src/util/mesa-sha1.h

index 07eb9f3e6aabdc09577be356cba8884e8ab58925..6edb750110973ed42d926a60e1cf55299236b546 100644 (file)
@@ -41,6 +41,7 @@
 #include <stdbool.h>
 #include <stddef.h>
 #include <assert.h>
+#include "c99_compat.h"
 
 
 struct list_head
index d3f7affecee5cb2f97617eba183b4029057e27fa..bde50ba1eb4f5c97528d13314318178a5282d620 100644 (file)
@@ -24,6 +24,7 @@
 #define MESA_SHA1_H
 
 #include <stdlib.h>
+#include "c99_compat.h"
 #include "sha1/sha1.h"
 
 #ifdef __cplusplus