From: Andi K. <ak...@no...> - 2007-10-25 10:09:46
|
Old kernel includes don't necessarily have IN_MOVE_SELF -Andi diff -u testcases/kernel/syscalls/inotify/inotify02.c-o testcases/kernel/syscalls/inotify/inotify02.c --- testcases/kernel/syscalls/inotify/inotify02.c-o 2007-10-25 12:04:58.000000000 +0200 +++ testcases/kernel/syscalls/inotify/inotify02.c 2007-10-25 12:05:45.000000000 +0200 @@ -52,6 +52,10 @@ #ifdef __NR_inotify_init #include <linux/inotify.h> +#ifndef IN_MOVE_SELF +#define IN_MOVE_SELF 0x00000800 +#endif + #define EVENT_MAX 1024 /* size of the event structure, not counting name */ #define EVENT_SIZE (sizeof (struct inotify_event)) |