From: Tatsuo Ishii Date: Wed, 22 Mar 2023 11:53:38 +0000 (+0900) Subject: Fix compile error on systems using musl libc. X-Git-Tag: V4_4_3~30 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=1618f0f1ba9942cbb3365e109f30196fb42b9dc7;p=pgpool2.git Fix compile error on systems using musl libc. Patch provided by leimaohui. https://www.pgpool.net/mantisbt/view.php?id=790 --- diff --git a/src/tools/pgproto/read.c b/src/tools/pgproto/read.c index c7fb54885..fff8e53d9 100644 --- a/src/tools/pgproto/read.c +++ b/src/tools/pgproto/read.c @@ -1,6 +1,6 @@ /* * Copyright (c) 2017-2018 Tatsuo Ishii - * Copyright (c) 2018-2022 PgPool Global Development Group + * Copyright (c) 2018-2023 PgPool Global Development Group * * Permission to use, copy, modify, and distribute this software and * its documentation for any purpose and without fee is hereby @@ -19,6 +19,7 @@ #include "../../include/config.h" #include "pgproto/pgproto.h" #include +#include #include #include #include