summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix/include/intr.h
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/exec/posix/include/intr.h')
-rw-r--r--c/src/exec/posix/include/intr.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/c/src/exec/posix/include/intr.h b/c/src/exec/posix/include/intr.h
index f07d1f9552..48aaf64160 100644
--- a/c/src/exec/posix/include/intr.h
+++ b/c/src/exec/posix/include/intr.h
@@ -9,7 +9,11 @@
#ifndef __POSIX_INTERRUPTS_h
#define __POSIX_INTERRUPTS_h
-#include <rtems/posix/features.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <sys/features.h>
#include <sys/types.h>
#include <sys/time.h>
@@ -68,5 +72,9 @@ int intr_timed_wait(
#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif
/* end of include file */