From: Egor Date: Fri, 13 Jun 2025 00:07:58 +0000 (+0300) Subject: don't redefine FD_SETSIZE and don't include poll.h X-Git-Url: https://git.patchysicp.xyz/?a=commitdiff_plain;h=62d6cf84101aed076ea0192de1b0000047b2d92f;p=patchyircd.git don't redefine FD_SETSIZE and don't include poll.h we no longer use select or poll --- 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)))