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:
4aa8485
)
nixio: reenable splice() for linux
author
Steven Barth
<steven@midlink.org>
Mon, 9 Mar 2009 13:17:44 +0000
(13:17 +0000)
committer
Steven Barth
<steven@midlink.org>
Mon, 9 Mar 2009 13:17:44 +0000
(13:17 +0000)
libs/nixio/src/splice.c
patch
|
blob
|
history
diff --git
a/libs/nixio/src/splice.c
b/libs/nixio/src/splice.c
index 0f715c2bb337e5b61545c16c8e077a5d8ea39ec8..0519f719aaa3abc1d40cd5286d9bc7ddcc5c3e36 100644
(file)
--- a/
libs/nixio/src/splice.c
+++ b/
libs/nixio/src/splice.c
@@
-16,6
+16,10
@@
* limitations under the License.
*/
+#ifdef __linux__
+#define _GNU_SOURCE
+#endif
+
#include "nixio.h"
#include <fcntl.h>
#include <string.h>