Carlos Carvalho wrote: > Philip Wall (philip.w...@gmail.com) wrote on 4 December 2006 23:49: > >Switched to kernel sources 2.6.18.1 and it built fine so must be an > >issue between dnsmasq and the 2.6.19 kernel. > > Applications shouldn't depend directly on the kernel headers, they > depend on the headers used by libc. There's something strange in your > configuration.
That's the theory: the practise is that for interfaces which are linux specific, it's necessary to #include <linux/somefile> and, whilst /usr/include/linux _should_ be some nice, change controlled, stable API, set of userspace headers, nobody actually maintains such a thing. Distros are therefore forced to use the include tree from some kernel-or-other, and when that changes, things can break. In this case, I can't see any solution other than to resort to #ifdef and swearing. I'll put something together and post a patch here soon. Cheers, Simon. > > _______________________________________________ > Dnsmasq-discuss mailing list > Dnsmasq-discuss@lists.thekelleys.org.uk > http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss >