Add missing include for "struct iovec" which is defined in sys/uio.h
on FreeBSD and also on Linux. tvheadend-3.4/src/muxer/tvh/mkmux.c: In function 'mk_write_to_fd': tvheadend-3.4/src/muxer/tvh/mkmux.c:347: error: invalid application of 'sizeof' to incomplete type 'struct iovec' tvheadend-3.4/src/muxer/tvh/mkmux.c:351: error: invalid use of undefined type 'struct iovec' tvheadend-3.4/src/muxer/tvh/mkmux.c:351: error: dereferencing pointer to incomplete type tvheadend-3.4/src/muxer/tvh/mkmux.c:352: error: invalid use of undefined type 'struct iovec' tvheadend-3.4/src/muxer/tvh/mkmux.c:352: error: dereferencing pointer to incomplete type cc1: warnings being treated as errors tvheadend-3.4/src/muxer/tvh/mkmux.c:358: warning: implicit declaration of function 'writev' tvheadend-3.4/src/muxer/tvh/mkmux.c:364: error: invalid use of undefined type 'struct iovec'
This commit is contained in:
parent
72210b2cdb
commit
f1c7c87c93
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@
|
|||
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/uio.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <unistd.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue