Peter Memishian wrote:
>  > <sys/socketvar.h> is included in some userland libraries, and struct
>  > sonode is defined without _KERNEL or _KMEMUSER. So, if we introduce a
>  > pollhead variable in sonode, the userland library will fail to build.
> 
> Nothing in userland other than kmem readers use `struct sonode' -- nor
> would it make any sense for them to do so.  So I'd just put `struct
> sonode' under _KERNEL / _KMEMUSER.
> 

Yup, I also did this and it compiles just fine.

I'm just curious why pollhead is defined under _KERNEL and _KMEMUSER. :)

- yxn
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to