diff -r 2ea5cde93abc -r ea7541f77944 project_files/frontlib/frontlib.h --- a/project_files/frontlib/frontlib.h Tue Nov 20 23:09:17 2012 +0400 +++ b/project_files/frontlib/frontlib.h Wed Nov 21 00:04:09 2012 +0400 @@ -26,6 +26,10 @@ #ifndef FRONTLIB_H_ #define FRONTLIB_H_ +#ifdef __cplusplus +extern "C" { +#endif + #include "ipc/gameconn.h" #include "ipc/mapconn.h" #include "net/netconn.h" @@ -45,4 +49,8 @@ */ void flib_quit(); +#ifdef __cplusplus +} +#endif + #endif /* FRONTLIB_H_ */