summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2010-11-21 09:48:52 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-11-28 22:44:33 -0800
commitfe7b269fd329201fdbffa12ce7724287c10a3abf (patch)
tree78f3ea2832c1fa2c9319848db813e85a3c85b6e8
parent5d3428de974d15357b0ad407f4c5222cfaa8f9f3 (diff)
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>
-rw-r--r--Xarch.h1
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__)