From e36c3d98eba61e3eeadf34024157052ad899a164 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Sat, 2 May 2026 11:10:15 -0600 Subject: [PATCH] libmodplug1: define _GNU_SOURCE so string.h includes strings.h --- recipes/libs/libmodplug1/recipe.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/libs/libmodplug1/recipe.toml b/recipes/libs/libmodplug1/recipe.toml index 772a29287..e7fe9552b 100644 --- a/recipes/libs/libmodplug1/recipe.toml +++ b/recipes/libs/libmodplug1/recipe.toml @@ -9,5 +9,7 @@ autotools_recursive_regenerate template = "custom" script = """ DYNAMIC_INIT +# For strings.h from string.h +export CPPFLAGS="${CPPFLAGS} -D_GNU_SOURCE" cookbook_configure """