From 4b2951c8283c34e6d6e01bf85bd0c4f7f627f2be Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Fri, 1 Nov 2024 21:56:21 +0100 Subject: [PATCH] Include to get select(3). This is the header required by POSIX-1.2024. This change is needed to build irssi on operating systems such as Sortix that have a strict libc without obsolete behaviors. --- src/core/net-disconnect.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/net-disconnect.c b/src/core/net-disconnect.c index a2f7e290..2ed3a421 100644 --- a/src/core/net-disconnect.c +++ b/src/core/net-disconnect.c @@ -21,6 +21,8 @@ #include "module.h" #include +#include + /* when quitting, wait for max. 5 seconds before forcing to close the socket */ #define MAX_QUIT_CLOSE_WAIT 5