If you want build Heartbeat-3-0-7e3a82377fa8 on RHEL6.5 then it will be error.
if you fix like this then it will be compile.
# cat fix.bug.txt
--- ./lib/plugins/HBcomm/ucast.c 2014-06-03 18:42:44.000000000 +0000
+++ ./lib/plugins/HBcomm/ucast.c.orig 2014-06-03 18:42:32.000000000 +0000
@@ -463,7 +463,8 @@ static int HB_make_send_sock(struct hb_m
int tos;
#if defined(SO_BINDTODEVICE)
struct ifreq i;
-#elif defined(SO_REUSEPORT)
+#endif
+#if defined(SO_REUSEPORT)
int i = 1;
#endif