From: Emil Velikov Date: Tue, 24 Nov 2015 16:29:22 +0000 (+0000) Subject: xmesa: do not wrap header inclusion in extern "C" X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cf215d92f624116fa951ef6ea740b519822e7872;p=mesa.git xmesa: do not wrap header inclusion in extern "C" Signed-off-by: Emil Velikov --- diff --git a/src/mesa/drivers/x11/xmesa.h b/src/mesa/drivers/x11/xmesa.h index b6a2576d492..cc878e7402e 100644 --- a/src/mesa/drivers/x11/xmesa.h +++ b/src/mesa/drivers/x11/xmesa.h @@ -64,15 +64,15 @@ and create a window, you must do the following to use the X/Mesa interface: #ifndef XMESA_H #define XMESA_H -#ifdef __cplusplus -extern "C" { -#endif - #include #include #include "xmesa_x.h" #include "GL/gl.h" +#ifdef __cplusplus +extern "C" { +#endif + #define XMESA_MAJOR_VERSION 6 #define XMESA_MINOR_VERSION 3