summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-11-24 16:29:22 +0000
committerEmil Velikov <[email protected]>2016-03-09 17:16:50 +0000
commitcf215d92f624116fa951ef6ea740b519822e7872 (patch)
tree4bed87010064d2be4a836e6ed217d1632fe63621 /src/mesa/drivers
parent2af3a0ca6f4ad34774dfba64f2e95344d1f336c0 (diff)
xmesa: do not wrap header inclusion in extern "C"
Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/x11/xmesa.h8
1 files 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 <X11/Xlib.h>
#include <X11/Xutil.h>
#include "xmesa_x.h"
#include "GL/gl.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#define XMESA_MAJOR_VERSION 6
#define XMESA_MINOR_VERSION 3