From f97483e51999430b488f120ab78b53bf326cd1dd Mon Sep 17 00:00:00 2001 From: erentar Date: Fri, 30 May 2025 03:23:20 +0200 Subject: u.h: define __USE_POSIX to make glibc happy glibc will only expose sigjmp_buf if __USE_POSIX is defined. --- include/u.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/u.h b/include/u.h index 3d779483..aaa2e416 100644 --- a/include/u.h +++ b/include/u.h @@ -40,7 +40,7 @@ extern "C" { #endif #define _LARGEFILE64_SOURCE 1 #define _FILE_OFFSET_BITS 64 - +#define __USE_POSIX 1 //needed for sigjmp_buf in glibc setjmp.h #include #include -- cgit v1.2.3