--- ./ctdb/common/system_socket.c_orig	2023-09-13 07:29:28.492117290 +0000
+++ ./ctdb/common/system_socket.c	2023-09-13 07:29:52.958613452 +0000
@@ -21,6 +21,7 @@
 */
 
 #include "replace.h"
+#define ARPHRD_INFINIBAND 0
 
 /*
  * Use BSD struct tcphdr field names for portability.  Modern glibc
