[rtmpdump] [PATCH 2/3] POSIX says fd_set is in sys/select.h

Fran├žois Revol revol at free.fr
Tue Jan 12 21:36:52 CET 2016


---
 rtmpgw.c   | 1 +
 rtmpsrv.c  | 1 +
 rtmpsuck.c | 1 +
 3 files changed, 3 insertions(+)

diff --git a/rtmpgw.c b/rtmpgw.c
index 3e47602..2745723 100644
--- a/rtmpgw.c
+++ b/rtmpgw.c
@@ -26,6 +26,7 @@
 
 #include <signal.h>
 #include <getopt.h>
+#include <sys/select.h>
 
 #include <assert.h>
 
diff --git a/rtmpsrv.c b/rtmpsrv.c
index 5df4d3a..2e78dcc 100644
--- a/rtmpsrv.c
+++ b/rtmpsrv.c
@@ -31,6 +31,7 @@
 
 #include <signal.h>
 #include <getopt.h>
+#include <sys/select.h>
 
 #include <assert.h>
 
diff --git a/rtmpsuck.c b/rtmpsuck.c
index e886179..990b477 100644
--- a/rtmpsuck.c
+++ b/rtmpsuck.c
@@ -31,6 +31,7 @@
 
 #include <signal.h>
 #include <getopt.h>
+#include <sys/select.h>
 
 #include <assert.h>
 
-- 
2.7.0



More information about the rtmpdump mailing list