From: Vinson Lee Date: Wed, 14 Nov 2012 05:18:09 +0000 (-0800) Subject: mesa: Include compiler.h in hash_table.h. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ca5840afb0eae56f86668d0b5562c6d82fe8ad4b;p=mesa.git 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 --- 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 #include -#ifndef _HASH_TABLE_H -#define _HASH_TABLE_H +#include "compiler.h" #ifdef __cplusplus extern "C" {