From 881d590d23730fff6bf8f37e10d998226180cd65 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 10 Oct 2024 10:20:11 -0400 Subject: xtime: Add a wrapper for timer_create()/setitimer() setitimer() is obsolescent in POSIX 2008 and removed from POSIX 2024. However, at least macOS doesn't implement the new timer_create() API, so we still need the setitimer() fallback. --- build/header.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'build/header.mk') diff --git a/build/header.mk b/build/header.mk index abec00f..88a8986 100644 --- a/build/header.mk +++ b/build/header.mk @@ -52,6 +52,7 @@ HEADERS := \ gen/has/strtofflags.h \ gen/has/tcgetwinsize.h \ gen/has/timegm.h \ + gen/has/timer-create.h \ gen/has/tm-gmtoff.h \ gen/has/uselocale.h -- cgit v1.2.3