<div dir="ltr">Hello<div><br></div><div style>I was trying to compile the pgpool-II on Mac OS/X and getting the compilation errors.</div><div style><br></div><div style><div>wd_heartbeat.c: In function ‘wd_create_hb_send_socket’:</div>
<div>wd_heartbeat.c:90: error: storage size of ‘i’ isn’t known</div><div>wd_heartbeat.c:93: error: ‘SO_BINDTODEVICE’ undeclared (first use in this function)</div><div><br></div><div style>The reason is for platforms where SO_BINDTODEVICE is absent the related code is not </div>
<div style>properly omitted from compilation.</div><div style><br></div><div style>Please find the attached patch to fix the above mentioned issue.</div><div style><br></div><div style>Thanks</div><div style><br></div><div style>
Muhammad Usama</div><div style><span style="font-family:arial,sans-serif;font-size:13px">EnterpriseDB Corporation</span><br style="font-family:arial,sans-serif;font-size:13px"></div></div></div>