From 706c280a4dd032a4211fdf4eff62da773a8c2903 Mon Sep 17 00:00:00 2001 From: David Smith Date: Mon, 22 Mar 2010 10:34:34 -0500 Subject: Fix syscall tapset on older kernels (RHEL4). * tapset/aux_syscalls.stp: On systems where inotify isn't supported, don't include inotify.h. --- tapset/aux_syscalls.stp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tapset/aux_syscalls.stp') diff --git a/tapset/aux_syscalls.stp b/tapset/aux_syscalls.stp index cffb9244..e7d0ae7f 100644 --- a/tapset/aux_syscalls.stp +++ b/tapset/aux_syscalls.stp @@ -1714,7 +1714,9 @@ function _signalfd4_flags_str:string(f:long) %} %{ +#ifdef CONFIG_INOTIFY #include +#endif %} function _inotify_init1_flag_str:string(f:long) %{ /* pure */ -- cgit