PERFORCE change 95527 for review
John Birrell
jb at FreeBSD.org
Tue Apr 18 20:35:58 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=95527
Change 95527 by jb at jb_freebsd2 on 2006/04/18 20:34:55
Since this file is included in kernel code, it needs to include just
kernel headers.
Also, hide the #pragma so we get a clean compile.
Affected files ...
.. //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/sys/ctf_api.h#4 edit
Differences ...
==== //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/sys/ctf_api.h#4 (text) ====
@@ -40,14 +40,18 @@
#ifndef _CTF_API_H
#define _CTF_API_H
+#if defined(sun)
#pragma ident "@(#)ctf_api.h 1.4 05/06/08 SMI"
+#endif
#include <sys/types.h>
#include <sys/param.h>
#if defined(sun)
#include <sys/elf.h>
#else
-#include <elf.h>
+#include <machine/elf.h>
+#include <sys/elf32.h>
+#include <sys/elf64.h>
#include <opensolaris/compat/sys/types.h>
#include <opensolaris/compat/sys/elf.h>
#endif
More information about the p4-projects
mailing list