X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=kernel%2Finclude%2Flinux%2Fcrush%2Fhash.h;h=d1d90258242eef2965eb3e1e1e399132e85c8c34;hb=e09b41010ba33a20a87472ee821fa407a5b8da36;hp=91e884230d5db99cbfacc478bf8acbe2d4533908;hpb=f93b97fd65072de626c074dbe099a1fff05ce060;p=kvmfornfv.git diff --git a/kernel/include/linux/crush/hash.h b/kernel/include/linux/crush/hash.h index 91e884230..d1d902582 100644 --- a/kernel/include/linux/crush/hash.h +++ b/kernel/include/linux/crush/hash.h @@ -1,6 +1,12 @@ #ifndef CEPH_CRUSH_HASH_H #define CEPH_CRUSH_HASH_H +#ifdef __KERNEL__ +# include +#else +# include "crush_compat.h" +#endif + #define CRUSH_HASH_RJENKINS1 0 #define CRUSH_HASH_DEFAULT CRUSH_HASH_RJENKINS1