mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-17 18:19:27 +08:00
Switch to a version of select that is closer to bsd's version.
This commit is contained in:
@@ -106,6 +106,10 @@ __FBSDID("$FreeBSD$");
|
||||
#include <sysexits.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifdef __rtems__
|
||||
#define select __select
|
||||
#endif
|
||||
|
||||
#define INADDR_LEN ((int)sizeof(in_addr_t))
|
||||
#define TIMEVAL_LEN ((int)sizeof(struct tv32))
|
||||
#define MASK_LEN (ICMP_MASKLEN - ICMP_MINLEN)
|
||||
|
Reference in New Issue
Block a user