[pgpool-hackers: 306] Re: patch to solve SO_BINDTODEVICE undeclared on OS/X

Tatsuo Ishii ishii at postgresql.org
Wed Jul 3 16:02:30 JST 2013


Fix committed. Thanks.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp

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


More information about the pgpool-hackers mailing list