diff -r 39e22f84ce6e -r cab66ef3e68e include/unix/canfestival.h --- a/include/unix/canfestival.h Mon Aug 06 17:59:06 2007 +0200 +++ b/include/unix/canfestival.h Tue Aug 07 17:18:03 2007 +0200 @@ -1,6 +1,10 @@ #ifndef UNIX_H_ #define UNIX_H_ +#ifdef __cplusplus +extern "C" { +#endif + #include "timerscfg.h" #include "can_driver.h" #include "data.h" @@ -19,4 +23,8 @@ CAN_PORT canOpen(s_BOARD *board, CO_Data * d); int canClose(CO_Data * d); +#ifdef __cplusplus +}; +#endif + #endif /*UNIX_H_*/