]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
tvhcsa.c: include stdio.h
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 6 Jul 2019 06:36:11 +0000 (08:36 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 15 Oct 2019 07:10:33 +0000 (09:10 +0200)
Fixes uclibc build error:

CC              src/descrambler/tvhcsa.o
In file included from /home/buildroot/autobuild/instance-0/output/build/tvheadend-8f1de1621d78c91431238176bf4f6290870a031a/src/tvhlog.h:30:0,
                 from src/descrambler/tvhcsa.h:30,
                 from src/descrambler/tvhcsa.c:19:
/home/buildroot/autobuild/instance-0/output/build/tvheadend-8f1de1621d78c91431238176bf4f6290870a031a/src/tvh_thread.h:163:25:
 error: unknown type name '__do_not_use_pthread_mutex_t'
 #define pthread_mutex_t __do_not_use_pthread_mutex_t

detected by buildroot autobuilder:
http://autobuild.buildroot.net/results/627/627e7080e655005d6724b9977670cc73059d6281/

src/descrambler/tvhcsa.c

index 1deefc50f42ef432c693cab2e99e6732d09ecb1c..e97c14e99b4f60b4e7c3db90e93d4e77cf5c79a9 100644 (file)
@@ -16,6 +16,7 @@
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <stdio.h>
 #include "tvhcsa.h"
 #include "input.h"
 #include "input/mpegts/tsdemux.h"