mirror of
https://github.com/irssi/irssi.git
synced 2025-04-25 12:31:09 -05:00
Include <sys/select.h> 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.
This commit is contained in:
parent
5a9a9ababa
commit
4b2951c828
@ -21,6 +21,8 @@
|
||||
#include "module.h"
|
||||
#include <irssi/src/core/network.h>
|
||||
|
||||
#include <sys/select.h>
|
||||
|
||||
/* when quitting, wait for max. 5 seconds before forcing to close the socket */
|
||||
#define MAX_QUIT_CLOSE_WAIT 5
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user