diff --git a/src/libCom/osi/os/RTEMS/osiUnistd.h b/src/libCom/osi/os/RTEMS/osiUnistd.h index f280ffb92..87da50649 100644 --- a/src/libCom/osi/os/RTEMS/osiUnistd.h +++ b/src/libCom/osi/os/RTEMS/osiUnistd.h @@ -31,5 +31,14 @@ * There seems to be no way to handle this automatically, so * if you get compile errors, just make the appropriate changes here. */ + +#ifdef __cplusplus +extern "C" { +#endif + int putenv (char *); char *strdup (const char *); + +#ifdef __cplusplus +} +#endif