blob: d1a6498e8fc78d7bd7bb52265a94838082e1d92e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
diff -Naurp xf86-input-evdev-1.1.2.orig/src/inotify-syscalls.h xf86-input-evdev-1.1.2/src/inotify-syscalls.h
--- xf86-input-evdev-1.1.2.orig/src/inotify-syscalls.h 2006-06-22 13:24:32.000000000 -0400
+++ xf86-input-evdev-1.1.2/src/inotify-syscalls.h 2006-06-22 13:44:19.000000000 -0400
@@ -43,6 +43,20 @@
# define __NR_inotify_init 269
# define __NR_inotify_add_watch 270
# define __NR_inotify_rm_watch 271
+#elif defined (__mips__)
+# if _MIPS_SIM == _MIPS_SIM_ABI32
+# define __NR_inotify_init 4284
+# define __NR_inotify_add_watch 4285
+# define __NR_inotify_rm_watch 4286
+# elif _MIPS_SIM == _MIPS_SIM_NABI32
+# define __NR_inotify_init 6247
+# define __NR_inotify_add_watch 6248
+# define __NR_inotify_rm_watch 6249
+# elif _MIPS_SIM == _MIPS_SIM_ABI64
+# define __NR_inotify_init 5243
+# define __NR_inotify_add_watch 5244
+# define __NR_inotify_rm_watch 5245
+# endif
#else
# error "Unsupported architecture!"
#endif
|