diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/eventfd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/eventfd.h b/include/linux/eventfd.h index cf5d2af61b81..ff0b981f078e 100644 --- a/include/linux/eventfd.h +++ b/include/linux/eventfd.h | |||
| @@ -9,7 +9,6 @@ | |||
| 9 | #define _LINUX_EVENTFD_H | 9 | #define _LINUX_EVENTFD_H |
| 10 | 10 | ||
| 11 | #include <linux/fcntl.h> | 11 | #include <linux/fcntl.h> |
| 12 | #include <linux/file.h> | ||
| 13 | #include <linux/wait.h> | 12 | #include <linux/wait.h> |
| 14 | 13 | ||
| 15 | /* | 14 | /* |
| @@ -26,6 +25,8 @@ | |||
| 26 | #define EFD_SHARED_FCNTL_FLAGS (O_CLOEXEC | O_NONBLOCK) | 25 | #define EFD_SHARED_FCNTL_FLAGS (O_CLOEXEC | O_NONBLOCK) |
| 27 | #define EFD_FLAGS_SET (EFD_SHARED_FCNTL_FLAGS | EFD_SEMAPHORE) | 26 | #define EFD_FLAGS_SET (EFD_SHARED_FCNTL_FLAGS | EFD_SEMAPHORE) |
| 28 | 27 | ||
| 28 | struct file; | ||
| 29 | |||
| 29 | #ifdef CONFIG_EVENTFD | 30 | #ifdef CONFIG_EVENTFD |
| 30 | 31 | ||
| 31 | struct file *eventfd_file_create(unsigned int count, int flags); | 32 | struct file *eventfd_file_create(unsigned int count, int flags); |
