From 57362cdb6260ddb8f6983ef5af9d415e9510b361 Mon Sep 17 00:00:00 2001 From: Dnomd343 Date: Sun, 2 Oct 2022 17:08:17 +0800 Subject: [PATCH] fix: execvpe with `_GNU_SOURCE` flag --- src/utils/process.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/utils/process.c b/src/utils/process.c index 6ef0fec..33cbaf5 100644 --- a/src/utils/process.c +++ b/src/utils/process.c @@ -1,3 +1,7 @@ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE // NOLINT +#endif + #include #include #include