From: Patrick E. Kane <[email protected]>

Signed-off-by: Patrick E. Kane <[email protected]>
---
 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

_______________________________________________
[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