From c7aa9d6ff8913785a50b94f8a967b084d61d6af3 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 26 Apr 1999 18:22:08 +0000 Subject: Repairing damage and recovering changes including C++ wrappers.. --- c/src/exec/posix/include/unistd.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'c/src/exec/posix/include/unistd.h') diff --git a/c/src/exec/posix/include/unistd.h b/c/src/exec/posix/include/unistd.h index 0001ecc475..207fe14fd0 100644 --- a/c/src/exec/posix/include/unistd.h +++ b/c/src/exec/posix/include/unistd.h @@ -6,7 +6,11 @@ #ifndef __POSIX_UNISTD_h #define __POSIX_UNISTD_h -#include +#ifdef __cplusplus +extern "C" { +#endif + +#include /* * 4.8.1 Get Configurable System Variables, P1003.1b-1993, p. 96 @@ -85,5 +89,9 @@ long sysconf( int name ); +#ifdef __cplusplus +} +#endif + #endif /* end of include */ -- cgit v1.2.3