PERFORCE change 95200 for review
John Birrell
jb at FreeBSD.org
Fri Apr 14 00:59:22 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=95200
Change 95200 by jb at 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
More information about the p4-projects
mailing list