--- common/common.h	2023-09-25 16:47:42.000000000 +0800
+++ common/common.h	2024-05-02 05:00:43.000000000 +0800
@@ -92,3 +92,10 @@
 #include "mem.h"
 
 #include "extern.h"
+
+#ifndef SLIST_REMOVE_AFTER
+#define SLIST_REMOVE_AFTER(elm, field) do {             \
+        SLIST_NEXT(elm, field) =                        \
+            SLIST_NEXT(SLIST_NEXT(elm, field), field);  \
+} while (0)
+#endif
