Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2006 23:38:26 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 95116 for review
Message-ID:  <200604122338.k3CNcQkK079179@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95116

Change 95116 by jb@jb_freebsd2 on 2006/04/12 23:38:00

	Include a compatibility header instead of Solaris' non-POSIX thread.h.

Affected files ...

.. //depot/projects/dtrace/src/contrib/opensolaris/cmd/sgs/libelf/common/error.c#2 edit

Differences ...

==== //depot/projects/dtrace/src/contrib/opensolaris/cmd/sgs/libelf/common/error.c#2 (text) ====

@@ -31,7 +31,11 @@
 #pragma weak	elf_errno = _elf_errno
 
 #include	"syn.h"
+#if defined(sun)
 #include	<thread.h>
+#else
+#include	<opensolaris/compat/thread.h>
+#endif
 #include	<stdlib.h>
 #include	<string.h>
 #include	<stdio.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604122338.k3CNcQkK079179>