fix unused variables compiler warning

This commit is contained in:
RincewindsHat 2023-10-08 22:50:17 +02:00
parent b053278b18
commit 6a4b9927cb

View file

@ -1216,7 +1216,9 @@ recvfrom_wto(int sock, void *buf, unsigned int len, struct sockaddr *saddr,
int n, ret;
struct timeval to, then, now;
fd_set rd, wr;
#ifdef HAVE_MSGHDR_MSG_CONTROL
char ans_data[4096];
#endif // HAVE_MSGHDR_MSG_CONTROL
struct msghdr hdr;
struct iovec iov;
#ifdef SO_TIMESTAMP