From 62d6cf84101aed076ea0192de1b0000047b2d92f Mon Sep 17 00:00:00 2001 From: Egor Date: Fri, 13 Jun 2025 03:07:58 +0300 Subject: [PATCH] don't redefine FD_SETSIZE and don't include poll.h we no longer use select or poll --- src/netsock.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/netsock.h b/src/netsock.h index f60c7bf..bb5aa00 100644 --- a/src/netsock.h +++ b/src/netsock.h @@ -29,10 +29,6 @@ * | "e" | (none) | FOPEN_CLOEXEC | */ -/* All implementations besides glibc and 4.4BSD allow redefining this constant. - * Win32 has 64 as default, Linux has 1024. Increase the limit on Win32. */ -#define FD_SETSIZE 1024 - /* Standard headers */ #include #include @@ -48,7 +44,6 @@ #include #include #include -#include #include #define PRISocket "d" #define net_perror(p) (perror((p))) -- 2.56.0