"Alfred M. Szmidt" <[EMAIL PROTECTED]> writes: > I'm trying to get some extra ioctl support in pfinet (for > routing). The problem I'm having is that I need to include the > headerfile <net/route.h>. Sometimes I need the linux version (in > the linux code) and sometimes I need the glibc version (for mig > generated code and for some pfinet (Hurd) code. > > Can't you manipulate the -I lines for gcc? I.e. when we are compiling > Linux specific code put the Linux header directory before the Hurd > one, and vice versa.
Perhaps, the building process of the Hurd still confuses me. I think this requires a lot of work and I'm almost sure there is an easy way. > >From net/route.h I need "struct rtentry". In net/route.h in the > linux header files this struct is not defined (it is defined in > linux/route.h). And in GNU/Hurd it is define in <net/route.h>. > > In recent libc's on GNU/Linux rtentry is in <net/route.h>. Maybe that > another way of fixing the problem... No, I'm using that one. The problem is that the linux header files conflict. Thanks, Marco _______________________________________________ Help-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-hurd
