DragonFly BSD
DragonFly commits List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: 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 ...

From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Mon, 10 Jan 2005 14:22:58 +0100
Mail-followup-to: commits@crater.dragonflybsd.org

On Mon, Jan 10, 2005 at 04:29:04PM +0900, YONETANI Tomokazu wrote:
> 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>.

The source is wrong. A userland program should NEVER define _KERNEL, only


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]