summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/include/devctl.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 /cpukit/posix/include/devctl.h
parentchanged version to 19990426 (diff)
downloadrtems-c7aa9d6ff8913785a50b94f8a967b084d61d6af3.tar.bz2
Repairing damage and recovering changes including C++ wrappers..
Diffstat (limited to 'cpukit/posix/include/devctl.h')
-rw-r--r--cpukit/posix/include/devctl.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/cpukit/posix/include/devctl.h b/cpukit/posix/include/devctl.h
index 5073b475ee..85fca4cc11 100644
--- a/cpukit/posix/include/devctl.h
+++ b/cpukit/posix/include/devctl.h
@@ -6,7 +6,11 @@
#ifndef __POSIX_DEVICE_CONTROL_h
#define __POSIX_DEVICE_CONTROL_h
-#include <rtems/posix/features.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <sys/features.h>
#if defined(_POSIX_DEVICE_CONTROL)
@@ -26,5 +30,9 @@ int devctl(
#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif
/* end of include file */