[PATCH] xfree86: improve check for posix saved ids
Mark Kettenis
mark.kettenis at xs4all.nl
Sat Aug 3 03:09:25 PDT 2013
> Date: Sat, 3 Aug 2013 11:57:43 +0200
> From: Julien Cristau <jcristau at debian.org>
>
> 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?
Now why did I miss that...
Thanks, and sorry for the noise.
Reviewed-by: Mark Kettenis <kettenis at openbsd.org>.
More information about the xorg-devel
mailing list