From 2ed8cf1549fb4d07c8044df6ecf2750ea2e8f010 Mon Sep 17 00:00:00 2001 From: "W. Eric Norum" Date: Mon, 3 Mar 2003 21:52:57 +0000 Subject: [PATCH] Allow inclusion from C++ source files. --- src/libCom/osi/os/RTEMS/osiUnistd.h | 9 +++++++++ 1 file changed, 9 insertions(+) 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