Author: Tj <debian@iam.tj>
Last-Update: 2025-09-27
Forwarded: not-needed
Description: update deprecated define _BSD_SOURCE

diff --git a/include/libast/sysdefs.h.in b/include/libast/sysdefs.h.in
index c558182..bdf9025 100644
--- a/include/libast/sysdefs.h.in
+++ b/include/libast/sysdefs.h.in
@@ -44,8 +44,8 @@
 # ifndef _GNU_SOURCE
 #  define _GNU_SOURCE
 # endif
-# ifndef _BSD_SOURCE
-#  define _BSD_SOURCE
+# ifndef _DEFAULT_SOURCE
+#  define _DEFAULT_SOURCE
 # endif
 # ifndef _XOPEN_SOURCE
 /* FIXME -- Do some systems still need this? */
diff --git a/include/libast_internal.h b/include/libast_internal.h
index 9a68854..9216f37 100644
--- a/include/libast_internal.h
+++ b/include/libast_internal.h
@@ -44,8 +44,8 @@
 # ifndef _GNU_SOURCE
 #  define _GNU_SOURCE
 # endif
-# ifndef _BSD_SOURCE
-#  define _BSD_SOURCE
+# ifndef _DEFAULT_SOURCE
+#  define _DEFAULT_SOURCE
 # endif
 #endif
 
