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 <[email protected]>
---
 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

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to