Print this page
8115 parallel zfs mount

@@ -22,10 +22,11 @@
 #
 # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 # Copyright (c) 2016 by Delphix. All rights reserved.
+# Copyright 2017 RackTop Systems.
 #
 
 MODULE = libzpool.so
 MDBTGT = proc
 

@@ -37,10 +38,11 @@
 include ../../../common/modules/zfs/Makefile.zfs
 
 MODSRCS_DIR = ../../../common/modules/zfs
 GENUNIX_DIR = ../../../common/modules/genunix
 
+CPPFLAGS.first = -I$(SRC)/lib/libfakekernel/common -D_FAKE_KERNEL
 CPPFLAGS += -I../../../../../lib/libzpool/common \
         -I../../../../../uts/common/fs/zfs \
         -I../../../../../uts/common/fs/zfs/lua
 
 C99MODE=        -xc99=%all