> From: [email protected] > Date: Tue, 9 Nov 2010 17:40:21 -0600 > > From: Patrick E. Kane <[email protected]> > > > Signed-off-by: Patrick E. Kane <[email protected]> > --- > os/backtrace.c | 5 +++++ > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/os/backtrace.c b/os/backtrace.c > index 7ca6dab..1050d77 100644 > --- a/os/backtrace.c > +++ b/os/backtrace.c > @@ -25,6 +25,11 @@ > #include <dix-config.h> > #endif > > +#if defined(sun) && defined(__SVR4) > +# include <unistd.h> > +# include <errno.h> > +#endif > + > #include "os.h" > #include "misc.h"
It should be fine to just include these headers unconditionally. That would reduce the #ifdef clutter a bit. _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
