[PATCH] xfree86: improve check for posix saved ids

Julien Cristau jcristau at debian.org
Sat Aug 3 02:57:43 PDT 2013


On Sat, Aug  3, 2013 at 11:34:25 +0200, Mark Kettenis wrote:

> > From: Julien Cristau <jcristau at debian.org>
> > Date: Fri,  2 Aug 2013 20:07:36 +0200
> > 
> > Replace hardcoded SVR4 || linux || CSRG_BASED with an autoconf check and
> > the _POSIX_SAVED_IDS macro.
> > 
> > Suggested-by: Mark Kettenis <mark.kettenis at xs4all.nl>
> > Signed-off-by: Julien Cristau <jcristau at debian.org>
> 
> Hmm, you need to include <unistd.h> to get the _POSIX_SAVED_IDS macro.
> And I don't quite see how that gets pulled in.
> 
http://cgit.freedesktop.org/xorg/xserver/tree/hw/xfree86/parser/write.c#n62
includes unistd.h right before that check?

Cheers,
Julien


More information about the xorg-devel mailing list