summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/include/unistd.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-26 18:22:08 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-04-26 18:22:08 +0000
commitc7aa9d6ff8913785a50b94f8a967b084d61d6af3 (patch)
treed4d49aae32da14fb80343605cdf3a502c9c71294 /c/src/exec/posix/include/unistd.h
parentchanged version to 19990426 (diff)
downloadrtems-c7aa9d6ff8913785a50b94f8a967b084d61d6af3.tar.bz2
Repairing damage and recovering changes including C++ wrappers..
Diffstat (limited to '')
-rw-r--r--c/src/exec/posix/include/unistd.h10
1 files changed, 9 insertions, 1 deletions
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 <rtems/posix/features.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <sys/features.h>
/*
* 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 */