pgpool / pgpool2

This is the official mirror of git://git.postgresql.org/git/pgpool2.git. Note that this is just a *mirror* - we don't work with pull requests on github. Please subscribe to pgpool-hackers mailing list from our website and submit your patch to this mailing list.
https://www.pgpool.net
Other
326 stars 88 forks source link

pgpool2 fails to build with -Werror=implicit-function-declaration #41

Closed vpa1977 closed 4 months ago

vpa1977 commented 7 months ago

This MR adds missing headers and define so that function prototypes are included.

This is due to Ubuntu enabling -Werror=implict-function-declaration on armhf due to time_t transition[1]

[1] https://bugs.launchpad.net/ubuntu/+source/pgpool2/+bug/2055234

vpa1977 commented 7 months ago

The sources build successfully with this patch[1]

[1] https://launchpad.net/~vpa1977/+archive/ubuntu/plusone/+build/27827198

vpa1977 commented 7 months ago

Submitted: https://www.pgpool.net/mantisbt/view.php?id=829

pengbo0328 commented 4 months ago

@vpa1977 I have committed your patch. https://git.postgresql.org/gitweb/?p=pgpool2.git;a=commitdiff;h=c55384a918ff1cc70cddf710f2371cfe9d5491c8

Thank you!