On Fri, Mar 25, 2011 at 10:40:38PM +0100, Martin Pelikan wrote: > Hi list, > if anyone tries to develop an application using tun(4), the manpage > misses some includes neccesary for IFT_* and IFF_* constants. > If you switch the order of sys/types.h and sys/socket.h, your program > won't compile (is this considered a bug?) > > Anyone willing to comment/commit? Thanks > > -- > Martin Pelikan >
martin, i have been unable to drum up any interest in your diff. so i'd say unless something changes, your diff will not get committed. sorry i can;t give you a more informative reply. jmc > Index: tun.4 > =================================================================== > RCS file: /cvs/src/share/man/man4/tun.4,v > retrieving revision 1.38 > diff -u -p -r1.38 tun.4 > --- tun.4 23 Sep 2010 01:24:32 -0000 1.38 > +++ tun.4 25 Mar 2011 21:21:57 -0000 > @@ -36,7 +36,10 @@ > .Cd "pseudo-device tun" > .Pp > .Fd #include <sys/types.h> > +.Fd #include <sys/socket.h> > +.Fd #include <net/if.h> > .Fd #include <net/if_tun.h> > +.Fd #include <net/if_types.h> > .Sh DESCRIPTION > The > .Nm