Include <sys/select.h> for fd_set

When fd_set is used <sys/select.h> should be included.
On glibc it is done implicitly via other headers,
on musl it must be explicitly provided.

Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
This commit is contained in:
Andrew Savchenko 2022-08-01 12:03:51 +03:00 committed by Kim Woelders
parent 429be12d46
commit a700d6b982
4 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,7 @@
#include <errno.h>
#include <fcntl.h>
#include <sys/resource.h>
#include <sys/select.h>
#include <sys/utsname.h>
#include <signal.h>
#include <sys/time.h>

View File

@ -32,6 +32,7 @@
#include <errno.h>
#include <signal.h>
#include <sys/select.h>
#include <sys/wait.h>
#include "config.h"

View File

@ -19,6 +19,7 @@
*/
#include <esd.h>
#include <fcntl.h>
#include <sys/select.h>
#include "config.h"
#include "epplet.h"

View File

@ -5,6 +5,7 @@
#include <errno.h>
#include <fcntl.h>
#include <stdarg.h>
#include <sys/select.h>
#include "E-ScreenShoot_ftp.h"