OSDN Git Service

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 07eb9f3..6edb750 100644 (file)
@@ -41,6 +41,7 @@
 #include <stdbool.h>
 #include <stddef.h>
 #include <assert.h>
+#include "c99_compat.h"
 
 
 struct list_head
index d3f7aff..bde50ba 100644 (file)
@@ -24,6 +24,7 @@
 #define MESA_SHA1_H
 
 #include <stdlib.h>
+#include "c99_compat.h"
 #include "sha1/sha1.h"
 
 #ifdef __cplusplus