PERFORCE change 95110 for review

John Birrell jb at FreeBSD.org
Wed Apr 12 23:25:11 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=95110

Change 95110 by jb at 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>


More information about the p4-projects mailing list