diff -Naur iproute2-5.18.0.orig/lib/fs.c iproute2-5.18.0/lib/fs.c
--- iproute2-5.18.0.orig/lib/fs.c	2022-05-27 04:21:48.000000000 +0530
+++ iproute2-5.18.0/lib/fs.c	2022-08-18 11:08:35.251960629 +0530
@@ -34,6 +34,13 @@
 /* if not already mounted cgroup2 is mounted here for iproute2's use */
 #define MNT_CGRP2_PATH  "/var/run/cgroup2"
 
+#ifndef __NR_name_to_handle_at
+#define __NR_name_to_handle_at   264
+#endif
+
+#ifndef __NR_open_by_handle_at
+#define __NR_open_by_handle_at   265
+#endif
 
 #ifndef HAVE_HANDLE_AT
 struct file_handle {
