From: Steven Barth Date: Mon, 15 Jun 2009 19:11:38 +0000 (+0000) Subject: Redefine splice() flags for crappy uclibc versions X-Git-Tag: 0.10.0~1552 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8546622f654632277ee561aa8062ece67eb158ca;p=oweals%2Fluci.git Redefine splice() flags for crappy uclibc versions --- diff --git a/libs/nixio/src/splice.c b/libs/nixio/src/splice.c index db215efb1..0704dfd24 100644 --- a/libs/nixio/src/splice.c +++ b/libs/nixio/src/splice.c @@ -59,6 +59,15 @@ ssize_t splice(int __fdin, __off64_t *__offin, int __fdout, return -1; #endif } + +#undef SPLICE_F_MOVE +#undef SPLICE_F_NONBLOCK +#undef SPLICE_F_MORE + +#define SPLICE_F_MOVE 1 +#define SPLICE_F_NONBLOCK 2 +#define SPLICE_F_MORE 4 + #endif /* __UCLIBC__ */ /**