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 0f715c2bb337e5b61545c16c8e077a5d8ea39ec8..0519f719aaa3abc1d40cd5286d9bc7ddcc5c3e36 100644 (file)
  *  limitations under the License.
  */
 
+#ifdef __linux__
+#define _GNU_SOURCE
+#endif
+
 #include "nixio.h"
 #include <fcntl.h>
 #include <string.h>