Re: [PATCH] list: avoid incompatibility with *BSD sys/queue.h

2016-07-18 Thread Lars Schneider
we use sys/queue.h, since I use >> LIST_HEAD from ccan/list/list.h in a different project >> without conflicts... > > Still wondering... Checking sys/mman.h in an old FreeBSD source > tree I had lying around reveals "#include " is > guarded by "#if defined(_KERNEL

Re: [PATCH] list: avoid incompatibility with *BSD sys/queue.h

2016-07-17 Thread Eric Wong
Eric Sunshine wrote: > On Sat, Jul 16, 2016 at 8:25 PM, Eric Wong wrote: > > Eric Wong wrote: > >> I also wonder where we use sys/queue.h, since I use > >> LIST_HEAD from ccan/list/list.h in a different project > >> without conflicts... > > > > Still wondering... Checking sys/mman.h in an old Fr

Re: [PATCH] list: avoid incompatibility with *BSD sys/queue.h

2016-07-16 Thread Eric Sunshine
On Sat, Jul 16, 2016 at 8:25 PM, Eric Wong wrote: > Eric Wong wrote: >> I also wonder where we use sys/queue.h, since I use >> LIST_HEAD from ccan/list/list.h in a different project >> without conflicts... > > Still wondering... Checking sys/mman.h in an old FreeBSD source > tree I had lying arou

[PATCH] list: avoid incompatibility with *BSD sys/queue.h

2016-07-16 Thread Eric Wong
ource tree I had lying around reveals "#include " is guarded by "#if defined(_KERNEL)", so it mman.h wouldn't pull it in for userspace builds... -8<-- Subject: [PATCH] list: avoid incompatibility with *BSD sys/queue.h Somehow, the OS X build pulls in sys/queue