summaryrefslogtreecommitdiffhomepage
path: root/libs/nixio/src
diff options
context:
space:
mode:
Diffstat (limited to 'libs/nixio/src')
-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>