pgpool2.git / summary / log / commit / refs

commit    829cf822e62cfa39b6de59cdf0300a729b6efc71
Author:   Tatsuo Ishii <ishii@sraoss.co.jp>
Date:     Fri Dec 04 08:04:30 2020 +0000

    Fix compiler error on FreeBSD.
    
    Per bug report 670.
    https://www.pgpool.net/mantisbt/view.php?id=670
    Patch provided by ajs.


src/main/pgpool_main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/pgpool_main.c b/src/main/pgpool_main.c index 604fa9c89..c1529f299 100644 --- a/src/main/pgpool_main.c +++ b/src/main/pgpool_main.c @@ -34,6 +34,10 @@ #include <sys/time.h> #include <sys/wait.h> +#ifdef __FreeBSD__ +#include <netinet/in.h> +#endif + #include "pool.h" #include "version.h" #include "pool_config.h" [parent: a89b159120bf]