summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/sys/select.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking/sys/select.h')
-rw-r--r--cpukit/libnetworking/sys/select.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/cpukit/libnetworking/sys/select.h b/cpukit/libnetworking/sys/select.h
index 97cddbe3df..2f75a3c19d 100644
--- a/cpukit/libnetworking/sys/select.h
+++ b/cpukit/libnetworking/sys/select.h
@@ -37,6 +37,10 @@
#ifndef _SYS_SELECT_H_
#define _SYS_SELECT_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* Used to maintain information about processes that wish to be
* notified when I/O becomes possible.
@@ -64,4 +68,8 @@ extern int select (int __nfds, fd_set *__readfds,
fd_set *__exceptfds,
struct timeval *__timeout);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* !_SYS_SELECT_H_ */