--- tipc/bearer.c.orig	2015-06-26 21:28:25.000000000 +0200
+++ tipc/bearer.c	2015-06-28 09:24:34.836132040 +0200
@@ -26,6 +26,10 @@
 #include "msg.h"
 #include "bearer.h"
 
+#ifndef TIPC_MAX_BEARER_NAME
+#define TIPC_MAX_BEARER_NAME 32
+#endif
+
 static void _print_bearer_opts(void)
 {
 	fprintf(stderr,
