summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-27 18:52:53 +0100
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-03-03 16:01:37 +0900
commit95e19523777f134a5c2cdf2c833e0ac1416ab358 (patch)
tree64e678d07d5b2f16b5c7d275a79a4f012e20ab1a
parent90126b9f88f0dfe51c5248b4dca397031b137525 (diff)
downloadmpv-95e19523777f134a5c2cdf2c833e0ac1416ab358.tar.bz2
mpv-95e19523777f134a5c2cdf2c833e0ac1416ab358.tar.xz
build: improve DVB check
A use of NO_STREAM_ID_FILTER was added to the DVB code recently. While I have no idea what it's needed for, it makes mpv fail to compile on FreeBSD 10.1. Add it to the dvb configure check. (cherry picked from commit 64456488b3b6bbbcbc4d3c96aab1b45cbd215439)
-rw-r--r--waftools/fragments/dvb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/waftools/fragments/dvb.c b/waftools/fragments/dvb.c
index 9deaa1eaab..f30350c75c 100644
--- a/waftools/fragments/dvb.c
+++ b/waftools/fragments/dvb.c
@@ -7,4 +7,4 @@
#include <linux/dvb/frontend.h>
#include <linux/dvb/video.h>
#include <linux/dvb/audio.h>
-int main(void) {return 0;}
+int main(void) {int a = NO_STREAM_ID_FILTER; return 0;}