projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af4c152
)
Redefine splice() flags for crappy uclibc versions
author
Steven Barth
<steven@midlink.org>
Mon, 15 Jun 2009 19:11:38 +0000
(19:11 +0000)
committer
Steven Barth
<steven@midlink.org>
Mon, 15 Jun 2009 19:11:38 +0000
(19:11 +0000)
libs/nixio/src/splice.c
patch
|
blob
|
history
diff --git
a/libs/nixio/src/splice.c
b/libs/nixio/src/splice.c
index db215efb1666a7d561f175c7df08342e3f9388ef..0704dfd24fe27885436c409953e6b6eb115d3c78 100644
(file)
--- 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__ */
/**