Re: Make sys/user.h safe for multiple includes

2010-12-24 Thread Philip Guenther
On Mon, Dec 20, 2010 at 4:06 PM, Christian Ludwig wrote: > I was playing around in the arch code of OpenBSD/i386 lately, and again > and again found that sys/user.h was not safe against multiple inclusions > from the same source file. Is that for a reason? One of my header files > needs to include

Make sys/user.h safe for multiple includes

2010-12-20 Thread Christian Ludwig
Hi, I was playing around in the arch code of OpenBSD/i386 lately, and again and again found that sys/user.h was not safe against multiple inclusions from the same source file. Is that for a reason? One of my header files needs to include sys/user.h, which creates a huge mess. The following patch