rsyslog/librelp

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

nekopsykose opened this issue · 0 comments

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