]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Add missing include for FreeBSD which has AF_INET defined in sys/socket.h
authorBernhard Froehlich <decke@bluelife.at>
Sat, 4 May 2013 12:30:19 +0000 (14:30 +0200)
committerBernhard Froehlich <decke@bluelife.at>
Sat, 4 May 2013 12:30:19 +0000 (14:30 +0200)
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)

src/webui/comet.c

index aaf42ae05d39bf9bca4b4ac22da870066df54dfc..aee51b7831e735aca1406bf9809df41fa9b26074 100644 (file)
@@ -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"