diff options
-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> |