diff options
Diffstat (limited to 'include/asm-generic/fcntl.h')
-rw-r--r-- | include/asm-generic/fcntl.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asm-generic/fcntl.h b/include/asm-generic/fcntl.h index a70b2d2bfc14..84793c7025e2 100644 --- a/include/asm-generic/fcntl.h +++ b/include/asm-generic/fcntl.h | |||
@@ -80,6 +80,10 @@ | |||
80 | #define O_SYNC (__O_SYNC|O_DSYNC) | 80 | #define O_SYNC (__O_SYNC|O_DSYNC) |
81 | #endif | 81 | #endif |
82 | 82 | ||
83 | #ifndef O_PATH | ||
84 | #define O_PATH 010000000 | ||
85 | #endif | ||
86 | |||
83 | #ifndef O_NDELAY | 87 | #ifndef O_NDELAY |
84 | #define O_NDELAY O_NONBLOCK | 88 | #define O_NDELAY O_NONBLOCK |
85 | #endif | 89 | #endif |
@@ -122,7 +126,7 @@ | |||
122 | 126 | ||
123 | struct f_owner_ex { | 127 | struct f_owner_ex { |
124 | int type; | 128 | int type; |
125 | pid_t pid; | 129 | __kernel_pid_t pid; |
126 | }; | 130 | }; |
127 | 131 | ||
128 | /* for F_[GET|SET]FL */ | 132 | /* for F_[GET|SET]FL */ |