diff options
author | David Smith <dsmith@redhat.com> | 2010-03-22 10:34:34 -0500 |
---|---|---|
committer | David Smith <dsmith@redhat.com> | 2010-03-22 10:34:34 -0500 |
commit | 706c280a4dd032a4211fdf4eff62da773a8c2903 (patch) | |
tree | 1a8b35f8d15fcc350924ad095ea20e821fe8efeb | |
parent | 05605db9ec5e176dd440a1edf320a987210b1245 (diff) | |
download | systemtap-steved-706c280a4dd032a4211fdf4eff62da773a8c2903.tar.gz systemtap-steved-706c280a4dd032a4211fdf4eff62da773a8c2903.tar.xz systemtap-steved-706c280a4dd032a4211fdf4eff62da773a8c2903.zip |
Fix syscall tapset on older kernels (RHEL4).
* tapset/aux_syscalls.stp: On systems where inotify isn't supported, don't
include inotify.h.
-rw-r--r-- | tapset/aux_syscalls.stp | 2 |
1 files changed, 2 insertions, 0 deletions
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 <linux/inotify.h> +#endif %} function _inotify_init1_flag_str:string(f:long) %{ /* pure */ |