Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-5577 libcfs: fix warnings in libcfs/curproc.h
[fs/lustre-release.git]
/
libcfs
/
include
/
libcfs
/
err.h
diff --git
a/libcfs/include/libcfs/err.h
b/libcfs/include/libcfs/err.h
index
3d24510
..
36e9dc6
100644
(file)
--- a/
libcfs/include/libcfs/err.h
+++ b/
libcfs/include/libcfs/err.h
@@
-26,7
+26,7
@@
#ifndef LIBCFS_ERR_H_
#define LIBCFS_ERR_H_
-#if
defined(__linux__) && defined(__KERNEL__)
+#if
def __KERNEL__
# include <linux/err.h>
#else /* __KERNEL__ */