librelp icon indicating copy to clipboard operation
librelp copied to clipboard

tests/receive.c requires <sys/select.h>

Open nekopsykose opened this issue 2 years ago • 0 comments
trafficstars

receive.c:64:24: error: storage size of 'tvSelectTimeout' isn't known
   64 |         struct timeval tvSelectTimeout;
      |                        ^~~~~~~~~~~~~~~
receive.c:67:9: error: implicit declaration of function 'select' [-Werror=implicit-function-declaration]
   67 |         select(0, NULL, NULL, NULL, &tvSelectTimeout);
      |         ^~~~~~

implicit function declarations become invalid with c23

nekopsykose avatar Jan 13 '23 05:01 nekopsykose