summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2012-11-13 21:18:09 -0800
committerVinson Lee <vlee@freedesktop.org>2012-11-13 21:19:50 -0800
commitca5840afb0eae56f86668d0b5562c6d82fe8ad4b (patch)
treee5af60876a0c2f18767f6c0598f3e17921bf0897 /src
parent186579e724edb0e90ec3a0cf88323c6f49e32b10 (diff)
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@freedesktop.org>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/hash_table.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/main/hash_table.h b/src/mesa/main/hash_table.h
index 76e05a0856..ad1dae478e 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" {