diff options
author | Vinson Lee <vlee@freedesktop.org> | 2012-11-13 21:18:09 -0800 |
---|---|---|
committer | Vinson Lee <vlee@freedesktop.org> | 2012-11-13 21:19:50 -0800 |
commit | ca5840afb0eae56f86668d0b5562c6d82fe8ad4b (patch) | |
tree | e5af60876a0c2f18767f6c0598f3e17921bf0897 | |
parent | 186579e724edb0e90ec3a0cf88323c6f49e32b10 (diff) | |
download | external_mesa3d-ca5840afb0eae56f86668d0b5562c6d82fe8ad4b.zip external_mesa3d-ca5840afb0eae56f86668d0b5562c6d82fe8ad4b.tar.gz external_mesa3d-ca5840afb0eae56f86668d0b5562c6d82fe8ad4b.tar.bz2 |
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>
-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 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" { |