X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=udev_libc_wrapper.h;h=238a4752f24a277456891955286b0cf6c3063381;hb=353b00edbcd4da7a2758b50e1e4abf18ac2c6625;hp=ed8070947fbe4a77cec2f10105b45b3fd28cc8c0;hpb=cdf18948639e56d2e3c71606c72e2f2d239c100b;p=elogind.git diff --git a/udev_libc_wrapper.h b/udev_libc_wrapper.h index ed8070947..238a4752f 100644 --- a/udev_libc_wrapper.h +++ b/udev_libc_wrapper.h @@ -58,9 +58,9 @@ # define __NR_inotify_add_watch 152 # define __NR_inotify_rm_watch 156 #elif defined (__arm__) -# define __NR_inotify_init 316 -# define __NR_inotify_add_watch 317 -# define __NR_inotify_rm_watch 318 +# define __NR_inotify_init __NR_SYSCALL_BASE+316 +# define __NR_inotify_add_watch __NR_SYSCALL_BASE+317 +# define __NR_inotify_rm_watch __NR_SYSCALL_BASE+318 #elif defined (__sh__) # define __NR_inotify_init 290 # define __NR_inotify_add_watch 291