Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2006 00:59:21 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 95200 for review
Message-ID:  <200604140059.k3E0xLMP066506@repoman.freebsd.org>

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

Change 95200 by jb@jb_freebsd2 on 2006/04/14 00:59:11

	Only use FreeBSD ELF headers and include a couple of compatibility headers
	to get Sun's extensions.

Affected files ...

.. //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/sys/ctf_api.h#3 edit

Differences ...

==== //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/sys/ctf_api.h#3 (text) ====

@@ -43,11 +43,14 @@
 #pragma ident	"@(#)ctf_api.h	1.4	05/06/08 SMI"
 
 #include <sys/types.h>
-#if	!defined(sun)
+#include <sys/param.h>
+#if	defined(sun)
+#include <sys/elf.h>
+#else
+#include <elf.h>
 #include <opensolaris/compat/sys/types.h>
+#include <opensolaris/compat/sys/elf.h>
 #endif
-#include <sys/param.h>
-#include <sys/elf.h>
 #include <sys/ctf.h>
 
 #ifdef	__cplusplus



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