Mesa (master): mesa: Include compiler.h in hash_table.h.
Vinson Lee
vlee at kemper.freedesktop.org
Wed Nov 14 05:21:32 UTC 2012
Module: Mesa
Branch: master
Commit: ca5840afb0eae56f86668d0b5562c6d82fe8ad4b
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ca5840afb0eae56f86668d0b5562c6d82fe8ad4b
Author: Vinson Lee <vlee at freedesktop.org>
Date: Tue Nov 13 21:18:09 2012 -0800
mesa: Include compiler.h in hash_table.h.
Include the header for the inline symbol. MSVC does not have the inline
keyword for C.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
src/mesa/main/hash_table.h | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/mesa/main/hash_table.h b/src/mesa/main/hash_table.h
index 76e05a0..ad1dae4 100644
--- a/src/mesa/main/hash_table.h
+++ b/src/mesa/main/hash_table.h
@@ -25,11 +25,13 @@
*
*/
+#ifndef _HASH_TABLE_H
+#define _HASH_TABLE_H
+
#include <inttypes.h>
#include <stdbool.h>
-#ifndef _HASH_TABLE_H
-#define _HASH_TABLE_H
+#include "compiler.h"
#ifdef __cplusplus
extern "C" {
More information about the mesa-commit
mailing list