From 67888a41e72dac35c4736c8a4f946c7f06148427 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 2 Apr 2016 20:51:39 +0200 Subject: build: make DVB test stricter I got a report that the build on a recent aarch64 Linux kernel failed. DVB support was detected, but errored on compilation: In file included from ../stream/stream_dvb.c:57:0: ../stream/dvbin.h:72:5: error: unknown type name 'fe_bandwidth_t' fe_bandwidth_t bw; Make the test stricter, which should take care of this. (I couldn't find out what exactly triggered the failure, nor could I attempt to reproduce it.) The change in stream/dvbin.h is to make sure that this isn't caused by incorrect header inclusion. It now includes the same files as the configure test. --- waftools/fragments/dvb.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'waftools/fragments') diff --git a/waftools/fragments/dvb.c b/waftools/fragments/dvb.c index 9deaa1eaab..4ec9e37311 100644 --- a/waftools/fragments/dvb.c +++ b/waftools/fragments/dvb.c @@ -7,4 +7,6 @@ #include #include #include +#include +fe_bandwidth_t t; int main(void) {return 0;} -- cgit v1.2.3