--- lib/error.c~	2023-05-28 03:10:34.000000000 +0200
+++ lib/error.c	2025-04-14 09:44:06.000000000 +0200
@@ -24,6 +24,7 @@

 #include "error.h"

+#include <ucontext.h>
 #include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>
--- lib/fclose.c~	2023-01-02 02:20:46.000000000 +0100
+++ lib/fclose.c	2025-04-14 09:50:41.000000000 +0200
@@ -17,6 +17,7 @@
 #include <config.h>

 /* Specification.  */
+#include <ucontext.h>
 #include <stdio.h>

 #include <errno.h>
--- lib/fflush.c~	2023-04-07 06:15:26.000000000 +0200
+++ lib/fflush.c	2025-04-14 09:54:11.000000000 +0200
@@ -19,6 +19,7 @@
 #include <config.h>

 /* Specification.  */
+#include <ucontext.h>
 #include <stdio.h>

 #include <errno.h>
--- lib/fpurge.c~	2023-01-02 02:20:46.000000000 +0100
+++ lib/fpurge.c	2025-04-14 11:29:37.000000000 +0200
@@ -17,6 +17,7 @@
 #include <config.h>

 /* Specification.  */
+#include <ucontext.h>
 #include <stdio.h>

 #if HAVE___FPURGE                   /* glibc >= 2.2, Haiku, Solaris >= 7, UnixWare >= 7.1.4.MP4, Cygwin >= 1.7.10, Android API >= 23, musl libc */
@@ -40,7 +41,6 @@
 #elif HAVE_FPURGE                   /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin >= 1.7 */

   /* Call the system's fpurge function.  */
-# undef fpurge
 # if !HAVE_DECL_FPURGE
   extern int fpurge (FILE *);
 # endif
--- lib/fseek.c~	2023-01-02 02:20:46.000000000 +0100
+++ lib/fseek.c	2025-04-14 11:31:49.000000000 +0200
@@ -17,6 +17,7 @@
 #include <config.h>

 /* Specification.  */
+#include <ucontext.h>
 #include <stdio.h>

 /* Get off_t.  */
--- lib/fseeko.c~	2023-01-02 02:20:46.000000000 +0100
+++ lib/fseeko.c	2025-04-14 11:33:31.000000000 +0200
@@ -17,6 +17,7 @@
 #include <config.h>

 /* Specification.  */
+#include <ucontext.h>
 #include <stdio.h>

 /* Get off_t, lseek, _POSIX_VERSION.  */
--- lib/fprintf.c~	2023-01-02 02:20:46.000000000 +0100
+++ lib/fprintf.c	2025-04-14 11:35:15.000000000 +0200
@@ -19,6 +19,7 @@
 #endif

 /* Specification.  */
+#include <ucontext.h>
 #include <stdio.h>

 #include <errno.h>
--- lib/vasnprintf.c~	2023-07-16 18:50:01.000000000 +0200
+++ lib/vasnprintf.c	2025-04-14 11:37:10.000000000 +0200
@@ -79,6 +79,7 @@
 # endif
 #endif

+#include <ucontext.h>
 #include <locale.h>     /* localeconv() */
 #include <stdio.h>      /* snprintf(), sprintf() */
 #include <stdlib.h>     /* abort(), malloc(), realloc(), free() */
--- lib/vfprintf.c~	2023-01-02 02:20:46.000000000 +0100
+++ lib/vfprintf.c	2025-04-14 11:39:33.000000000 +0200
@@ -19,6 +19,7 @@
 #endif

 /* Specification.  */
+#include <ucontext.h>
 #include <stdio.h>

 #include <errno.h>
