diff options
author | avg <avg@FreeBSD.org> | 2015-10-23 08:01:46 +0000 |
---|---|---|
committer | avg <avg@FreeBSD.org> | 2015-10-23 08:01:46 +0000 |
commit | fbbd0de7f163662e9a98731e9f2d1ef7267e488a (patch) | |
tree | 94da9297a2a3a54c09bd5baa36b1009f53b6adee /cddl/contrib/opensolaris/lib/libzpool/common/kernel.c | |
parent | e98221a3c3f53f33d609b0b8caed83d08a28e377 (diff) | |
download | FreeBSD-src-fbbd0de7f163662e9a98731e9f2d1ef7267e488a.zip FreeBSD-src-fbbd0de7f163662e9a98731e9f2d1ef7267e488a.tar.gz |
MFC r288340: define aok in libnvpair which is linked to all zfs
libraries that need aok
Diffstat (limited to 'cddl/contrib/opensolaris/lib/libzpool/common/kernel.c')
-rw-r--r-- | cddl/contrib/opensolaris/lib/libzpool/common/kernel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cddl/contrib/opensolaris/lib/libzpool/common/kernel.c b/cddl/contrib/opensolaris/lib/libzpool/common/kernel.c index c61c5c2..5556e6d 100644 --- a/cddl/contrib/opensolaris/lib/libzpool/common/kernel.c +++ b/cddl/contrib/opensolaris/lib/libzpool/common/kernel.c @@ -45,7 +45,9 @@ * Emulation of kernel services in userland. */ +#ifndef __FreeBSD__ int aok; +#endif uint64_t physmem; vnode_t *rootdir = (vnode_t *)0xabcd1234; char hw_serial[HW_HOSTID_LEN]; |