cvs commit: src/sys/net bpf.c if.c if_arcsubr.c if_atmsubr.c if_ethersubr.c if_fddisubr.c if_iso88025subr.c radix.c raw_usrreq.c route.c route.h rtsock.c src/sys/net/faith if_faith.c src/sys/netinet if_ether.c in.c in_cksum.c in_gif.c in_pcb.c ...

YONETANI Tomokazu qhwt+dfly at les.ath.cx
Sun Jan 9 23:31:04 PST 2005


On Thu, Jan 06, 2005 at 01:14:13AM -0800, Jeffrey Hsu wrote:
>   1.9       +10 -0     src/sys/sys/socket.h
> http://www.dragonflybsd.org/cvsweb/src/sys/sys/socket.h.diff?r1=1.8&r2=1.9&f=u

This commit broke the build of linuxpluginwrapper which does the following:

#define _KERNEL
#include <sys/socket.h>
#undef _KERNEL

to obtain typedefs, structs and macros, but not function declarations
at the end of the <sys/socket.h>.  After the commit, it now includes
<sys/libkern.h>, which includes <sys/systm.h>, which declares string
manipulation functions with arguments slightly different from ones
declared in <string.h>.

I don't know which one is to be fixed, the linuxpluginwrapper port or
<sys/socket.h>, but if I need to fix linuxpluginwrapper, how can I do
that without the `#define _KERNEL'?





More information about the Commits mailing list