From 026aaff1e21de198c68cf5ca9819e595cd30232d Mon Sep 17 00:00:00 2001 From: Luis Gerhorst Date: Tue, 23 May 2023 11:05:22 +0000 Subject: [PATCH] bcc_elf: mkostemp() requires _GNU_SOURCE --- src/cc/bcc_elf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cc/bcc_elf.c b/src/cc/bcc_elf.c index e2909d7c92d9..4342d593af38 100644 --- a/src/cc/bcc_elf.c +++ b/src/cc/bcc_elf.c @@ -13,6 +13,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif #include #include #include