mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02: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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue