-diff -urN gamin-0.1.3.org/server/local_inotify_syscalls.h gamin-0.1.3/server/local_inotify_syscalls.h
---- gamin-0.1.3.org/server/local_inotify_syscalls.h 2005-07-21 18:43:43.000000000 +0200
-+++ gamin-0.1.3/server/local_inotify_syscalls.h 2005-08-08 21:44:42.000000000 +0200
-@@ -11,11 +11,23 @@
- # define __NR_inotify_init 253
- # define __NR_inotify_add_watch 254
- # define __NR_inotify_rm_watch 255
-+#elif defined(__alpha__)
-+# define __NR_inotify_init 444
-+# define __NR_inotify_add_watch 445
-+# define __NR_inotify_rm_watch 446
-+#elif defined(__ppc__)
-+# define __NR_inotify_init 275
-+# define __NR_inotify_add_watch 276
-+# define __NR_inotify_rm_watch 277
-+#elif defined(__sparc__)
-+# define __NR_inotify_init 151
-+# define __NR_inotify_add_watch 152
-+# define __NR_inotify_rm_watch 156
- #else
+diff -aurN gamin-0.1.5.orig/server/local_inotify_syscalls.h gamin-0.1.5/server/local_inotify_syscalls.h
+--- gamin-0.1.5.orig/server/local_inotify_syscalls.h 2005-08-09 16:56:43.000000000 +0200
++++ gamin-0.1.5/server/local_inotify_syscalls.h 2005-08-14 11:11:38.000000000 +0200
+@@ -35,7 +35,7 @@
# warning "Unsupported architecture"
#endif
--#if defined(__i386__) || defined(__x86_64)
-+#if defined(__i386__) || defined(__x86_64__) || defined(__alpha__) || defined(__ppc__) || defined(__sparc__)
+-#if defined(__i386__) || defined(__x86_64) || defined(__alpha__) || defined(__ppc__) || defined(__sparc__) || defined(__powerpc__) || defined(__powerpc64__) || defined(__ia64__) || defined(__s390__)
++#if defined(__i386__) || defined(__x86_64__) || defined(__alpha__) || defined(__ppc__) || defined(__sparc__) || defined(__powerpc__) || defined(__powerpc64__) || defined(__ia64__) || defined(__s390__)
static inline int inotify_init (void)
{
return syscall (__NR_inotify_init);