From 99e5d63e81635ddaec46fc0a4077105bc8e5fa9b Mon Sep 17 00:00:00 2001 From: Bernhard Froehlich Date: Sat, 4 May 2013 14:10:42 +0200 Subject: [PATCH] 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 --- src/cwc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cwc.c b/src/cwc.c index 60d2cb11..c4e3e590 100644 --- a/src/cwc.c +++ b/src/cwc.c @@ -27,6 +27,8 @@ #include #include #include +#include +#include #include #include "tvheadend.h"