diff options
author | Chris Johns <chrisj@rtems.org> | 2002-11-09 04:37:33 +0000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2002-11-09 04:37:33 +0000 |
commit | 8d3eba16f7dae850a2a9872990b6a410725558a1 (patch) | |
tree | 0abc42dafce15b646e3b184708ec973082034bb9 /cpukit/libnetworking/sys/select.h | |
parent | 2002-11-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-8d3eba16f7dae850a2a9872990b6a410725558a1.tar.bz2 |
Need to be extern C for use by C++.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libnetworking/sys/select.h | 8 |
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_ */ |