Whamcloud - gitweb
- series for uml on 2.6.0
[fs/lustre-release.git] / lustre / kernel_patches / patches / uml-patch-2.6.0-1-fix1.patch
1 Index: linux-2.6.0/include/asm-um/unistd.h
2 ===================================================================
3 --- linux-2.6.0.orig/include/asm-um/unistd.h    2004-02-03 18:07:34.000000000 +0300
4 +++ linux-2.6.0/include/asm-um/unistd.h 2004-02-03 20:29:49.000000000 +0300
5 @@ -6,8 +6,10 @@
6  #ifndef _UM_UNISTD_H_
7  #define _UM_UNISTD_H_
8  
9 +#ifdef __KERNEL__
10  #include "linux/resource.h"
11  #include "asm/uaccess.h"
12 +#endif
13  
14  extern long sys_open(const char *filename, int flags, int mode);
15  extern long sys_dup(unsigned int fildes);