Date: Tue, 18 Apr 2006 20:35:54 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 95527 for review Message-ID: <200604182035.k3IKZsKb064407@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95527 Change 95527 by jb@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604182035.k3IKZsKb064407>