Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2001 14:01:35 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        freebsd-current@freebsd.org
Subject:   namespace pollution with struct thread?
Message-ID:  <20011112140135.A42228@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
Recent versions of WINE have defined a struct thread in
wine/server/thread.h.  Unfortunately, wine/server/context_i386.c
sucks in sys/user.h, which brings in sys/proc.h.  Of
course, sys/proc.h contains the post-KSE integrated 
struct thread.  I've managed to build WINE by temporarily
placing a #ifdef _KERNEL ... #endif in sys/proc.h.

I WINE developer has suggested that this is namespace
pollution on the part of FreeBSD, but he hasn't given
any details to support what he means.

So, should parts of sys/proc.h be protected by _KERNEL.

-- 
Steve

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011112140135.A42228>