Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Apr 2006 19:49:05 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 95614 for review
Message-ID:  <200604191949.k3JJn5Ln076558@repoman.freebsd.org>

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

Change 95614 by jb@jb_freebsd2 on 2006/04/19 19:48:47

	Include another compatibility header to allow us to share the
	dm_info field. We don't do much with it, but it makes the code cleaner
	in places.

Affected files ...

.. //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_impl.h#4 edit

Differences ...

==== //depot/projects/dtrace/src/contrib/opensolaris/lib/libdtrace/common/dt_impl.h#4 (text) ====

@@ -38,6 +38,7 @@
 #include <opensolaris/compat/unistd.h>
 #include <opensolaris/compat/sys/time.h>
 #include <opensolaris/compat/sys/bitmap.h>
+#include <opensolaris/compat/sys/objfs.h>
 #include <sys/utsname.h>
 #endif
 #include <setjmp.h>
@@ -115,9 +116,7 @@
 	struct dt_module *dm_next; /* pointer to next module in hash chain */
 	const dt_modops_t *dm_ops; /* pointer to data model's ops vector */
 	Elf *dm_elf;		/* libelf handle for module object */
-#if defined(sun)
 	objfs_info_t dm_info;	/* object filesystem private info */
-#endif
 	ctf_sect_t dm_symtab;	/* symbol table for module */
 	ctf_sect_t dm_strtab;	/* string table for module */
 	ctf_sect_t dm_ctdata;	/* CTF data for module */



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