From e16fa3b0ef4d274737671d8b375092ae42996cce Mon Sep 17 00:00:00 2001 From: Dnomd343 Date: Wed, 19 Oct 2022 10:43:27 +0800 Subject: [PATCH] fix: define `_GNU_SOURCE` flag --- src/common/sundry.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/sundry.c b/src/common/sundry.c index ab5e9de..7191199 100644 --- a/src/common/sundry.c +++ b/src/common/sundry.c @@ -1,3 +1,7 @@ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE // NOLINT +#endif + #include #include #include