From: Emil Velikov Date: Tue, 24 Nov 2015 16:29:18 +0000 (+0000) Subject: gbm: do not wrap header inclusion in extern "C" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=750da80b34fa712cbc45047184f8b84d2f50b81b;p=mesa.git gbm: do not wrap header inclusion in extern "C" Signed-off-by: Emil Velikov --- diff --git a/src/gbm/main/gbm.h b/src/gbm/main/gbm.h index 8db2153e84b..63d9a9edfd6 100644 --- a/src/gbm/main/gbm.h +++ b/src/gbm/main/gbm.h @@ -28,16 +28,16 @@ #ifndef _GBM_H_ #define _GBM_H_ -#ifdef __cplusplus -extern "C" { -#endif - - #define __GBM__ 1 #include #include +#ifdef __cplusplus +extern "C" { +#endif + + /** * \file gbm.h * \brief Generic Buffer Manager