From 4c075c8c5e0e3c118233f4ac57f5ea0ff7a6fd91 Mon Sep 17 00:00:00 2001 From: tueddy Date: Thu, 4 Apr 2024 09:53:25 +0200 Subject: [PATCH] Fix natsort.c:29: warning: "_GNU_SOURCE" redefined #14 --- natsort.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/natsort.c b/natsort.c index 0fc55a4..0db8653 100644 --- a/natsort.c +++ b/natsort.c @@ -26,7 +26,9 @@ * 2003-03-18: Add --reverse option, from Alessandro Pisani. */ -#define _GNU_SOURCE +#ifndef _GNU_SOURCE + #define _GNU_SOURCE +#endif #include #include