From 26077c0aa30340f0c777b19431fe45122bc25958 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Thu, 11 Sep 2014 21:02:46 +0200 Subject: MINOR: add support for the MIPS architecture on Linux We need to define the syscall numbers for splice(), tee(), vmsplice(). One day we should change this to support the libc when it's available. --- httpterm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/httpterm.c b/httpterm.c index ba555cc..aded67f 100644 --- a/httpterm.c +++ b/httpterm.c @@ -131,6 +131,10 @@ #define __NR_splice 340 #define __NR_tee 342 #define __NR_vmsplice 343 +#elif defined (__mips__) +#define __NR_splice 304 +#define __NR_tee 306 +#define __NR_vmsplice 307 #endif /* $arch */ #endif /* __NR_splice */ -- 1.7.12.1