From 4f3bcf53d6f55c72cfd43538ea9a4bc4d588cd04 Mon Sep 17 00:00:00 2001 From: yangfl Date: Sat, 6 Sep 2025 23:09:25 +0800 Subject: [PATCH 6/7] Replace _BSD_SOURCE with _DEFAULT_SOURCE --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 8c5ab90e..3b572776 100644 --- a/configure.ac +++ b/configure.ac @@ -320,7 +320,7 @@ case "$host_os" in hostos=freebsd ;; linux*) - ADD_CPPFLAGS="$ADD_CPPFLAGS -D_BSD_SOURCE" + ADD_CPPFLAGS="$ADD_CPPFLAGS -D_DEFAULT_SOURCE" hostos=linux if test "X`dpkg-architecture -qDEB_HOST_ARCH 2>/dev/null`" = "Xarmel"; then nativefp=no -- 2.50.1