diff options
author | Steven Barth <steven@midlink.org> | 2009-03-09 13:17:44 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2009-03-09 13:17:44 +0000 |
commit | 6129d031b0709610dfd85b709963fe6da64022a8 (patch) | |
tree | 1dc047b23d45e828ce4a487ee28f4e11e892e81b | |
parent | 4aa848533e40db16a00d5dd106bcc05621e3f949 (diff) |
nixio: reenable splice() for linux
-rw-r--r-- | libs/nixio/src/splice.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/nixio/src/splice.c b/libs/nixio/src/splice.c index 0f715c2bb3..0519f719aa 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> |