nixio: reenable splice() for linux
authorSteven Barth <steven@midlink.org>
Mon, 9 Mar 2009 13:17:44 +0000 (13:17 +0000)
committerSteven Barth <steven@midlink.org>
Mon, 9 Mar 2009 13:17:44 +0000 (13:17 +0000)
libs/nixio/src/splice.c

index 0f715c2..0519f71 100644 (file)
  *  limitations under the License.
  */
 
+#ifdef __linux__
+#define _GNU_SOURCE
+#endif
+
 #include "nixio.h"
 #include <fcntl.h>
 #include <string.h>