From: Jan Stancek Date: Thu, 17 Oct 2019 04:50:45 -0400 (EDT) Subject: [LTP] [PATCH 1/1] fanotify: Fix missing __kernel_fsid_t definition In-Reply-To: <20191016211501.3777-1-petr.vorel@gmail.com> References: <20191016211501.3777-1-petr.vorel@gmail.com> Message-ID: <1176394938.6589443.1571302245730.JavaMail.zimbra@redhat.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it ----- Original Message ----- > which is missing at least on musl which doesn't have FAN_REPORT_FID > support. > > Signed-off-by: Petr Vorel > --- > testcases/kernel/syscalls/fanotify/fanotify.h | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/testcases/kernel/syscalls/fanotify/fanotify.h > b/testcases/kernel/syscalls/fanotify/fanotify.h > index 1c7623d3b..01a2d52bd 100644 > --- a/testcases/kernel/syscalls/fanotify/fanotify.h > +++ b/testcases/kernel/syscalls/fanotify/fanotify.h > @@ -35,6 +35,10 @@ > #include > #include > > +#if !defined(FAN_REPORT_FID) && defined(HAVE_NAME_TO_HANDLE_AT) Will FAN_REPORT_FID ever be defined at this point, when include of sys/fanotify.h is below? > +#include // __kernel_fsid_t > +#endif > + > #if defined(HAVE_SYS_FANOTIFY_H) > > #include > -- > 2.23.0 > > > -- > Mailing list info: https://lists.linux.it/listinfo/ltp >