diff options
author | Phil Sutter <phil@nwl.cc> | 2025-01-08 19:17:41 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2025-01-09 11:19:00 +0100 |
commit | 65644d7bfae8058a786d15c5e84d7d7770343c5e (patch) | |
tree | 7099617ea26859637f599a8d6c6cc8128cef9b73 /package/cfgfs | |
parent | a4781901a82c37c5205341679e1a7a7385795d09 (diff) |
package: cfgfs: Fix for compiling with gcc-14
The asprintf() function is not exported unless _GNU_SOURCE has been
defined.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'package/cfgfs')
-rw-r--r-- | package/cfgfs/src/ft_pack.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/cfgfs/src/ft_pack.c b/package/cfgfs/src/ft_pack.c index 5d04f8b5c..53fd98713 100644 --- a/package/cfgfs/src/ft_pack.c +++ b/package/cfgfs/src/ft_pack.c @@ -21,6 +21,7 @@ * the possibility of such damage or existence of a defect. */ +#define _GNU_SOURCE #include <sys/param.h> #include <sys/stat.h> #include <fcntl.h> |