[vlc-commits] Include sys/uio.h where necessary
Dennis Hamester
git at videolan.org
Tue Mar 21 20:47:40 CET 2017
vlc | branch: master | Dennis Hamester <dhamester at jusst.de> | Mon Mar 20 17:57:18 2017 +0100| [4c853b54777083d2e13dd00ab38c958af2c79576] | committer: Rémi Denis-Courmont
Include sys/uio.h where necessary
All touched files use struct iovec without making sure sys/uio.h is
included.
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4c853b54777083d2e13dd00ab38c958af2c79576
---
modules/access/http/h2conn.c | 3 +++
modules/access/http/h2output.c | 3 +++
modules/access/rtp/input.c | 3 +++
modules/access/satip.c | 3 +++
modules/access/udp.c | 3 +++
modules/misc/gnutls.c | 3 +++
modules/video_output/flaschen.c | 3 +++
src/network/httpd.c | 3 +++
8 files changed, 24 insertions(+)
diff --git a/modules/access/http/h2conn.c b/modules/access/http/h2conn.c
index 6854aba..f7e7b88 100644
--- a/modules/access/http/h2conn.c
+++ b/modules/access/http/h2conn.c
@@ -29,6 +29,9 @@
#ifdef HAVE_POLL
# include <poll.h>
#endif
+#ifdef HAVE_SYS_UIO_H
+# include <sys/uio.h>
+#endif
#include <vlc_common.h>
#include <vlc_block.h>
#include <vlc_interrupt.h>
diff --git a/modules/access/http/h2output.c b/modules/access/http/h2output.c
index c082a1c..c171f1c 100644
--- a/modules/access/http/h2output.c
+++ b/modules/access/http/h2output.c
@@ -28,6 +28,9 @@
#ifdef HAVE_POLL
# include <poll.h>
#endif
+#ifdef HAVE_SYS_UIO_H
+# include <sys/uio.h>
+#endif
#include <vlc_common.h>
#include <vlc_tls.h>
#include "h2frame.h"
diff --git a/modules/access/rtp/input.c b/modules/access/rtp/input.c
index 7e734c4..cf9d9a7 100644
--- a/modules/access/rtp/input.c
+++ b/modules/access/rtp/input.c
@@ -35,6 +35,9 @@
#ifdef HAVE_POLL
# include <poll.h>
#endif
+#ifdef HAVE_SYS_UIO_H
+# include <sys/uio.h>
+#endif
#include "rtp.h"
#ifdef HAVE_SRTP
diff --git a/modules/access/satip.c b/modules/access/satip.c
index 4abc487..ef7d1eb 100644
--- a/modules/access/satip.c
+++ b/modules/access/satip.c
@@ -27,6 +27,9 @@
#include <unistd.h>
#include <ctype.h>
+#ifdef HAVE_SYS_UIO_H
+# include <sys/uio.h>
+#endif
#include <vlc_common.h>
#include <vlc_plugin.h>
diff --git a/modules/access/udp.c b/modules/access/udp.c
index ced4f8e..bf5e3cb 100644
--- a/modules/access/udp.c
+++ b/modules/access/udp.c
@@ -46,6 +46,9 @@
#ifdef HAVE_POLL
# include <poll.h>
#endif
+#ifdef HAVE_SYS_UIO_H
+# include <sys/uio.h>
+#endif
/*****************************************************************************
* Module descriptor
diff --git a/modules/misc/gnutls.c b/modules/misc/gnutls.c
index 045fbd1..f365a98 100644
--- a/modules/misc/gnutls.c
+++ b/modules/misc/gnutls.c
@@ -29,6 +29,9 @@
#include <errno.h>
#include <assert.h>
#include <unistd.h>
+#ifdef HAVE_SYS_UIO_H
+# include <sys/uio.h>
+#endif
#include <vlc_common.h>
#include <vlc_plugin.h>
diff --git a/modules/video_output/flaschen.c b/modules/video_output/flaschen.c
index b3bb0a0..5e2d3ed 100644
--- a/modules/video_output/flaschen.c
+++ b/modules/video_output/flaschen.c
@@ -33,6 +33,9 @@
#endif
#include <errno.h>
+#ifdef HAVE_SYS_UIO_H
+# include <sys/uio.h>
+#endif
#include <vlc_common.h>
#include <vlc_fs.h>
diff --git a/src/network/httpd.c b/src/network/httpd.c
index 19e1dad..233c01e 100644
--- a/src/network/httpd.c
+++ b/src/network/httpd.c
@@ -45,6 +45,9 @@
#include <string.h>
#include <errno.h>
#include <unistd.h>
+#ifdef HAVE_SYS_UIO_H
+# include <sys/uio.h>
+#endif
#ifdef HAVE_POLL
# include <poll.h>
More information about the vlc-commits
mailing list