From 5eb921382ff378de224ddddf0f66321eb773a38c Mon Sep 17 00:00:00 2001
From: Brian Paul <brian.paul@tungstengraphics.com>
Date: Fri, 9 Apr 2004 17:18:22 +0000
Subject: added extern "C" for C++ (bug 930933)

---
 include/GL/miniglx.h | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

(limited to 'include/GL')

diff --git a/include/GL/miniglx.h b/include/GL/miniglx.h
index 8c246a05cf..41e2093628 100644
--- a/include/GL/miniglx.h
+++ b/include/GL/miniglx.h
@@ -1,10 +1,8 @@
-/* $Id: miniglx.h,v 1.3 2004/03/24 15:59:44 brianp Exp $ */
-
 /*
  * Mesa 3-D graphics library
- * Version:  5.0
+ * Version:  6.1
  *
- * Copyright (C) 1999-2002  Brian Paul   All Rights Reserved.
+ * Copyright (C) 1999-2004  Brian Paul   All Rights Reserved.
  *
  * Permission is hereby granted, free of charge, to any person obtaining a
  * copy of this software and associated documentation files (the "Software"),
@@ -39,6 +37,12 @@
 #include <GL/gl.h>
 #include <stdlib.h>
 
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
 /**
  * \name Replacement Xlib/GLX types
  */
@@ -439,4 +443,8 @@ glXGetVisualFromFBConfig( Display *dpy, GLXFBConfig config );
 /*@}*/
 
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* MINIGLX_H */
-- 
cgit v1.2.3