diff -Nurp a/sysdeps/unix/sysv/linux/sys/inotify.h b/sysdeps/unix/sysv/linux/sys/inotify.h --- a/sysdeps/unix/sysv/linux/sys/inotify.h 2018-11-14 04:07:32.000000000 +0100 +++ b/sysdeps/unix/sysv/linux/sys/inotify.h 2020-03-30 19:02:02.584167022 +0200 @@ -77,6 +77,12 @@ struct inotify_event | IN_MOVED_TO | IN_CREATE | IN_DELETE \ | IN_DELETE_SELF | IN_MOVE_SELF) +#if __has_include() +# include +#else +# define IN_RECURSIVE 0x10000000 /* use recursive events */ +#endif + __BEGIN_DECLS