diff options
author | Vinson Lee <[email protected]> | 2012-11-13 21:18:09 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2012-11-13 21:19:50 -0800 |
commit | ca5840afb0eae56f86668d0b5562c6d82fe8ad4b (patch) | |
tree | e5af60876a0c2f18767f6c0598f3e17921bf0897 /src/mesa/main/hash_table.h | |
parent | 186579e724edb0e90ec3a0cf88323c6f49e32b10 (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 <[email protected]>
Diffstat (limited to 'src/mesa/main/hash_table.h')
-rw-r--r-- | 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 76e05a0856f..ad1dae478ed 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" { |