[PATCH:x11proto] Bug 31132: Xarch.h needs to include <sys/types.h> on Solaris 10

Pat Kane pekane52 at gmail.com
Sun Nov 21 15:39:36 PST 2010


Thanks!

Acked-by: Pat Kane <pekane52 at gmail.com>

On Sun, Nov 21, 2010 at 2:10 PM, Alan Coopersmith
<alan.coopersmith at oracle.com> wrote:
> Workaround older Solaris releases using types from <sys/types.h> in
> <sys/byteorder.h> and not including it directly.
> (That was fixed in OpenSolaris/Solaris 11 as part of:
> http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4483139 )
>
> Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
> ---
>  Xarch.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/Xarch.h b/Xarch.h
> index 58fb9a5..f80c580 100644
> --- a/Xarch.h
> +++ b/Xarch.h
> @@ -40,6 +40,7 @@
>  # else
>
>  #  if defined(SVR4) || defined(__SVR4)
> +#   include <sys/types.h>
>  #   include <sys/byteorder.h>
>  #  elif defined(CSRG_BASED)
>  #   if defined(__NetBSD__) || defined(__OpenBSD__)
> --
> 1.7.3.2
>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>


More information about the xorg-devel mailing list