summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-03-02 19:38:24 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-03-02 19:38:24 +0000
commita59ce9041df800936905f64287b82bc2d42d1c8b (patch)
tree49afe929f6668f1fe30d1b57aed1829c52fb1335 /src
parent0168240c5c9fb7b2f072b16c6937637eb7ba8b9f (diff)
added extern "C" for C++
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/imports.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h
index 2f5c38f046..0915fc7b82 100644
--- a/src/mesa/main/imports.h
+++ b/src/mesa/main/imports.h
@@ -1,4 +1,4 @@
-/* $Id: imports.h,v 1.14 2003/03/02 19:36:09 brianp Exp $ */
+/* $Id: imports.h,v 1.15 2003/03/02 19:38:24 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -35,6 +35,11 @@
#define IMPORTS_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/* XXX some of the stuff in glheader.h should be moved into this file.
*/
#include "glheader.h"
@@ -648,5 +653,9 @@ extern void
_mesa_init_default_imports( __GLimports *imports, void *driverCtx );
-#endif /* IMPORTS_H */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* IMPORTS_H */