Re: Bug#1142807: pgstat: FTBFS on hurd-amd64: getopt/optind undeclared

Michael Banck <[email protected]> Sun, 26 Jul 2026 17:42:05 +0200
Newsgroups gmane.linux.debian.ports.hurd
Message-ID <[email protected]>
Hi,

On Sun, Jul 26, 2026 at 12:45:11PM +0000, Federico Bonino wrote:
> pgstat fails to build from source on hurd-amd64 because pgstat.c uses
> getopt() and optind without including the POSIX header that declares
> them.

Thanks, I've uplaoded your patch.


Michael