diff options
Diffstat (limited to 'c/src/exec/posix/include/devctl.h')
-rw-r--r-- | c/src/exec/posix/include/devctl.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/c/src/exec/posix/include/devctl.h b/c/src/exec/posix/include/devctl.h index 5073b475ee..85fca4cc11 100644 --- a/c/src/exec/posix/include/devctl.h +++ b/c/src/exec/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 */ |