]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
linuxdvb: fix build for headers < 5.5
authorJaroslav Kysela <perex@perex.cz>
Thu, 19 Mar 2015 18:54:20 +0000 (19:54 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 19 Mar 2015 18:54:20 +0000 (19:54 +0100)
src/input/mpegts/linuxdvb/linuxdvb_adapter.c

index b9761a64089bd779bb428c7bdab6714d87f61150..3dd959adf83f58c1f29e0c353a5857ba6e368860 100644 (file)
@@ -181,6 +181,7 @@ linuxdvb_get_type(int linux_type)
 /*
  *
  */
+#if DVB_VER_ATLEAST(5,5)
 static void
 linuxdvb_get_systems(int fd, struct dtv_property *_cmd)
 {
@@ -212,6 +213,7 @@ linuxdvb_get_systems(int fd, struct dtv_property *_cmd)
   }
   *_cmd = cmd;
 }
+#endif
 
 /*
  * Add adapter by path