diff options
author | pjd <pjd@FreeBSD.org> | 2007-04-23 00:52:07 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2007-04-23 00:52:07 +0000 |
commit | 2063f013741d3fee2d48a255b6bbec6f1d15d003 (patch) | |
tree | 54c85efd93c3e6d93de3afcd7ec31f6e802cec59 /sys/cddl/compat/opensolaris/kern | |
parent | e06dca92fe6d546958ccf3012b122a74b8fffc9c (diff) | |
download | FreeBSD-src-2063f013741d3fee2d48a255b6bbec6f1d15d003.zip FreeBSD-src-2063f013741d3fee2d48a255b6bbec6f1d15d003.tar.gz |
MFp4: Reduce diff against vendor code:
- Move FreeBSD-specific code to zfs_freebsd_*() functions in zfs_vnops.c
and keep original functions as similar to vendor's code as possible.
- Add various includes back, now that we have them.
Diffstat (limited to 'sys/cddl/compat/opensolaris/kern')
-rw-r--r-- | sys/cddl/compat/opensolaris/kern/opensolaris_misc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/cddl/compat/opensolaris/kern/opensolaris_misc.c b/sys/cddl/compat/opensolaris/kern/opensolaris_misc.c index bb51c37..a89d478 100644 --- a/sys/cddl/compat/opensolaris/kern/opensolaris_misc.c +++ b/sys/cddl/compat/opensolaris/kern/opensolaris_misc.c @@ -31,6 +31,7 @@ __FBSDID("$FreeBSD$"); #include <sys/kernel.h> #include <sys/libkern.h> #include <sys/misc.h> +#include <sys/sunddi.h> char hw_serial[11] = "0"; |