Add missing includes for shutdown(2) and SHUT_RDWR on FreeBSD.
tvheadend-3.4/src/cwc.c: In function 'cwc_session': tvheadend-3.4/src/cwc.c:1139: warning: implicit declaration of function 'shutdown' tvheadend-3.4/src/cwc.c:1139: error: 'SHUT_RDWR' undeclared (first use in this function) tvheadend-3.4/src/cwc.c:1139: error: (Each undeclared identifier is reported only once tvheadend-3.4/src/cwc.c:1139: error: for each function it appears in.) tvheadend-3.4/src/cwc.c: In function 'cwc_entry_update': tvheadend-3.4/src/cwc.c:2369: error: 'SHUT_RDWR' undeclared
This commit is contained in:
parent
c127710cd5
commit
0d38f0c860
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,8 @@
|
|||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <ctype.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <openssl/des.h>
|
||||
|
||||
#include "tvheadend.h"
|
||||
|
|
Loading…
Add table
Reference in a new issue