From cf215d92f624116fa951ef6ea740b519822e7872 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Tue, 24 Nov 2015 16:29:22 +0000 Subject: [PATCH] xmesa: do not wrap header inclusion in extern "C" Signed-off-by: Emil Velikov --- src/mesa/drivers/x11/xmesa.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.30.2