summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-03-09 13:17:44 +0000
committerSteven Barth <steven@midlink.org>2009-03-09 13:17:44 +0000
commit6129d031b0709610dfd85b709963fe6da64022a8 (patch)
tree1dc047b23d45e828ce4a487ee28f4e11e892e81b /libs
parent4aa848533e40db16a00d5dd106bcc05621e3f949 (diff)
nixio: reenable splice() for linux
Diffstat (limited to 'libs')
-rw-r--r--libs/nixio/src/splice.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/nixio/src/splice.c b/libs/nixio/src/splice.c
index 0f715c2bb..0519f719a 100644
--- 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>