From: Noah Misch Date: Fri, 23 Feb 2018 19:24:04 +0000 (-0800) Subject: Synchronize doc/ copies of src/test/examples/. X-Git-Tag: REL9_3_22~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a7eab4e1f6c8ef013b7997fa43f72ac32f81bdf3;p=thirdparty%2Fpostgresql.git Synchronize doc/ copies of src/test/examples/. This is mostly cosmetic, but it might fix build failures, on some platform, when copying from the documentation. Back-patch to 9.3 (all supported versions). --- diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index ada7d160050..4ea10bfc379 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -7779,13 +7779,16 @@ testlibpq.o(.text+0xa4): undefined reference to `PQerrorMessage' #include -#include +#include "libpq-fe.h" static void exit_nicely(PGconn *conn) @@ -7906,6 +7909,9 @@ main(int argc, char **argv) #include #include -#include +#include +#ifdef HAVE_SYS_SELECT_H +#include +#endif + +#include "libpq-fe.h" static void exit_nicely(PGconn *conn) @@ -8044,6 +8055,9 @@ main(int argc, char **argv)