X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=libcfs%2Finclude%2Flibcfs%2Ftypes.h;h=b4fd790378878e1875777ba453cd1d1926cbf91e;hb=3120c92d0581d884d29f428dbf8eb9d7dfab97b0;hp=059caca7599339c740fdfaa67efe1f1cdc01e52f;hpb=d3e3c5777dd6929d43c2c9028aab1079d8b2406c;p=fs%2Flustre-release.git diff --git a/libcfs/include/libcfs/types.h b/libcfs/include/libcfs/types.h index 059caca..b4fd790 100644 --- a/libcfs/include/libcfs/types.h +++ b/libcfs/include/libcfs/types.h @@ -79,4 +79,9 @@ typedef unsigned long ulong_ptr_t; typedef long long_ptr_t; +#ifndef __KERNEL__ +/* Sparse annotation. */ +#define __user +#endif + #endif /* _LIBCFS_TYPES_H */