summaryrefslogtreecommitdiff
blob: d6c2a6bbd3a6b6572866c585bac2b90ba942a782 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
commit c3dcab92ff903422814573d6315ed2a1417080f6
Author: Andrew Savchenko <bircoph@gentoo.org>
Date:   Mon Aug 1 12:03:51 2022 +0300

    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>

diff --git a/api/epplet.c b/api/epplet.c
index b6a7907..b74a4bc 100644
--- a/api/epplet.c
+++ b/api/epplet.c
@@ -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>
diff --git a/epplets/E-Pinger.c b/epplets/E-Pinger.c
index 7187315..d397063 100644
--- a/epplets/E-Pinger.c
+++ b/epplets/E-Pinger.c
@@ -32,6 +32,7 @@
 
 #include <errno.h>
 #include <signal.h>
+#include <sys/select.h>
 #include <sys/wait.h>
 
 #include "config.h"
diff --git a/epplets/E-SD.c b/epplets/E-SD.c
index cd92fa3..d3b6b93 100644
--- a/epplets/E-SD.c
+++ b/epplets/E-SD.c
@@ -19,6 +19,7 @@
  */
 #include <esd.h>
 #include <fcntl.h>
+#include <sys/select.h>
 
 #include "config.h"
 #include "epplet.h"
diff --git a/epplets/E-ScreenShoot_ftp.c b/epplets/E-ScreenShoot_ftp.c
index 377e7ee..ae40ca7 100644
--- a/epplets/E-ScreenShoot_ftp.c
+++ b/epplets/E-ScreenShoot_ftp.c
@@ -5,6 +5,7 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <stdarg.h>
+#include <sys/select.h>
 
 #include "E-ScreenShoot_ftp.h"