From 8d3eba16f7dae850a2a9872990b6a410725558a1 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Sat, 9 Nov 2002 04:37:33 +0000 Subject: Need to be extern C for use by C++. --- cpukit/libnetworking/sys/select.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cpukit/libnetworking/sys/select.h') 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_ */ -- cgit v1.2.3