From d64f25724399fbb4ba9d36eda7e17984a4c6c91c Mon Sep 17 00:00:00 2001 From: David Gibson Date: Fri, 8 Nov 2024 13:53:28 +1100 Subject: linux_dep: Move close_range() conditional handling to linux_dep.h util.h has some #ifdefs and weak definitions to handle compatibility with various kernel versions. Move this to linux_dep.h which handles several other similar cases. Signed-off-by: David Gibson Signed-off-by: Stefano Brivio --- util.c | 1 + 1 file changed, 1 insertion(+) (limited to 'util.c') diff --git a/util.c b/util.c index 3448f30..913f34b 100644 --- a/util.c +++ b/util.c @@ -28,6 +28,7 @@ #include #include +#include "linux_dep.h" #include "util.h" #include "iov.h" #include "passt.h" -- cgit v1.2.3