diff options
Diffstat (limited to 'fanotify.c')
| -rw-r--r-- | fanotify.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,9 +1,15 @@ #include "defs.h" -#include <linux/fanotify.h> #include "xlat/fan_classes.h" #include "xlat/fan_init_flags.h" +#ifndef FAN_ALL_CLASS_BITS +# define FAN_ALL_CLASS_BITS (FAN_CLASS_NOTIF | FAN_CLASS_CONTENT | FAN_CLASS_PRE_CONTENT) +#endif +#ifndef FAN_NOFD +# define FAN_NOFD -1 +#endif + int sys_fanotify_init(struct tcb *tcp) { |
