diff --git a/dvb-core/dvb_net.c b/dvb-core/dvb_net.c index 9e8e757..9d5fe92 100644 --- a/dvb-core/dvb_net.c +++ b/dvb-core/dvb_net.c @@ -1227,7 +1227,9 @@ static int dvb_net_stop(struct net_device *dev) static const struct header_ops dvb_header_ops = { .create = eth_header, .parse = eth_header_parse, +#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 1, 2) .rebuild = eth_rebuild_header, +#endif };