mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2026-05-06 07:58:01 +02:00
Bug 31132: Xarch.h needs to include <sys/types.h> on Solaris 10
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@oracle.com> Acked-by: Pat Kane <pekane52@gmail.com>
This commit is contained in:
parent
5d3428de97
commit
fe7b269fd3
1 changed files with 1 additions and 0 deletions
1
Xarch.h
1
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__)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue