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

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

Change 95110 by jb@jb_freebsd2 on 2006/04/12 23:24:15

	Only include Solaris' thread.h on Solaris. Everyone else gets a compatibility header.
	
	Note to self: Remember to yell at Sun for coding non-POSIX.
	
	Grumble.

Affected files ...

.. //depot/projects/dtrace/src/contrib/opensolaris/cmd/sgs/libelf/common/decl.h#2 edit

Differences ...

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

@@ -32,7 +32,11 @@
 
 #pragma ident	"@(#)decl.h	1.21	06/03/22 SMI" 	/* SVr4.0 1.9	*/
 
+#if defined(sun)
 #include <thread.h>
+#else
+#include <opensolaris/compat/thread.h>
+#endif
 #include <note.h>
 #include <_libelf.h>
 #include <sys/machelf.h>



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