summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/x11')
-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