PERFORCE change 95116 for review
John Birrell
jb at FreeBSD.org
Wed Apr 12 23:38:27 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=95116
Change 95116 by jb at 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>
More information about the p4-projects
mailing list