From dcbcf7f775c75e7d5142fed571967a5e57e89fed Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 11 Nov 2024 09:00:11 -0500 Subject: ioq: Check for io_uring_register_iowq_max_workers() before using it This allows us to build against liburing as old as version 2.0, which is apparently shipped by the latest Amazon Linux distribution. Fixes: https://github.com/tavianator/bfs/issues/147 --- 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 e9f1abc..f940e52 100644 --- a/build/header.mk +++ b/build/header.mk @@ -33,6 +33,7 @@ HEADERS := \ gen/has/getmntinfo.h \ gen/has/getprogname-gnu.h \ gen/has/getprogname.h \ + gen/has/io-uring-max-workers.h \ gen/has/pipe2.h \ gen/has/posix-getdents.h \ gen/has/posix-spawn-addfchdir-np.h \ -- cgit v1.2.3