path: root/waftools/fragments
diff options
authorwm4 <wm4@nowhere>2016-04-02 20:51:39 +0200
committerwm4 <wm4@nowhere>2016-04-02 20:51:39 +0200
commit67888a41e72dac35c4736c8a4f946c7f06148427 (patch)
tree65c066f789e4662587ddcefdc315b2094983f541 /waftools/fragments
parentaec928d75378a944be12e081dc634e59d6c2e2cd (diff)
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.
Diffstat (limited to 'waftools/fragments')
1 files changed, 2 insertions, 0 deletions
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 <linux/dvb/frontend.h>
#include <linux/dvb/video.h>
#include <linux/dvb/audio.h>
+#include <linux/dvb/version.h>
+fe_bandwidth_t t;
int main(void) {return 0;}