Add missing include for FreeBSD which has AF_INET defined in sys/socket.h
tvheadend-3.4/src/webui/comet.c: In function 'comet_serverIpPort': tvheadend-3.4/src/webui/comet.c:162: error: 'AF_INET' undeclared (first use in this function) tvheadend-3.4/src/webui/comet.c:162: error: (Each undeclared identifier is reported only once tvheadend-3.4/src/webui/comet.c:162: error: for each function it appears in.) tvheadend-3.4/src/webui/comet.c:164: error: 'AF_INET6' undeclared (first use in this function)
This commit is contained in:
parent
45e1ca3b7e
commit
38d9f2ec39
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <sys/socket.h>
|
||||
#include <openssl/sha.h>
|
||||
|
||||
#include "htsmsg.h"
|
||||
|
|
Loading…
Add table
Reference in a new issue