diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-01-28 17:37:11 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-01-28 17:37:11 -0800 |
commit | 3f261d13687a0a93adb262f4395b4b57e3d61335 (patch) | |
tree | af6049ff7c8216b0ae792764100192b619d2816b | |
parent | 496dd28973e6156773975fd6ad093cab271f46bb (diff) | |
parent | 24d03141d13363128cfb64563bc86723490b389c (diff) |
Merge pull request #802 from caiiiycuk/select_h_2
Missign extern "C"
-rw-r--r-- | system/include/sys/select.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/system/include/sys/select.h b/system/include/sys/select.h index 49bc034b..a5c73147 100644 --- a/system/include/sys/select.h +++ b/system/include/sys/select.h @@ -1,6 +1,14 @@ #ifndef _SELECT_H #define _SELECT_H +#ifdef __cplusplus +extern "C" { +#endif + int select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout); +#ifdef __cplusplus +} +#endif + #endif |