[PATCH] Allow os/backtrace.c to compile on Solaris 10.

Peter Hutterer peter.hutterer at who-t.net
Tue Nov 9 20:47:41 PST 2010


On Tue, Nov 09, 2010 at 05:40:21PM -0600, pekane52 at gmail.com wrote:
> From: Patrick E. Kane <pekane52 at gmail.com>
> 
> 
> Signed-off-by: Patrick E. Kane <pekane52 at gmail.com>
> ---
>  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"
>  
> -- 
> 1.7.1.1

Acked-by: Peter Hutterer <peter.hutterer at who-t.net>

Cheers,
  Peter


More information about the xorg-devel mailing list