From 042014d5bddf0f8250b49759656c40066423b4ac Mon Sep 17 00:00:00 2001 From: NicJA Date: Thu, 13 Apr 2017 04:14:44 +0000 Subject: [PATCH] don't expose select if POSIXC_SELECT is defined git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@54494 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- workbench/network/common/include/clib/bsdsocket_protos.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/workbench/network/common/include/clib/bsdsocket_protos.h b/workbench/network/common/include/clib/bsdsocket_protos.h index b32623eb96..eac757b198 100644 --- a/workbench/network/common/include/clib/bsdsocket_protos.h +++ b/workbench/network/common/include/clib/bsdsocket_protos.h @@ -440,7 +440,9 @@ AROS_LP2(LONG, inet_aton, * Should they be protected by __BSD_VISIBLE? */ #define inet_ntoa(addr) Inet_NtoA(((struct in_addr)addr).s_addr) +#ifndef POSIXC_SELECT static inline int select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout) {return WaitSelect(nfds,rfds,wfds,efds,timeout,NULL);}; +#endif /* !POSIXC_SELECT */ #endif #endif /* CLIB_BSDSOCKET_PROTOS_H */ -- 2.11.4.GIT