added extern "C" for C++

This commit is contained in:
Brian Paul 2003-03-02 19:38:24 +00:00
parent 0168240c5c
commit a59ce9041d

View file

@ -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 */