From: Bruce Momjian Date: Sat, 27 Feb 2010 03:41:34 +0000 (+0000) Subject: Use <> for libpq #include in example programs, per suggestion from Josh Berkus. X-Git-Tag: REL9_0_0~810 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f7c93458a9520106fe65bdc550245511cb1e270e;p=pg-rex%2Fsyncrep.git Use <> for libpq #include in example programs, per suggestion from Josh Berkus. --- diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index 1365847095..3a22384057 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -1,4 +1,4 @@ - + <application>libpq</application> - C Library @@ -7010,7 +7010,7 @@ testlibpq.o(.text+0xa4): undefined reference to `PQerrorMessage' */ #include #include -#include "libpq-fe.h" +#include static void exit_nicely(PGconn *conn) @@ -7158,7 +7158,7 @@ main(int argc, char **argv) #include #include #include -#include "libpq-fe.h" +#include static void exit_nicely(PGconn *conn) @@ -7296,7 +7296,7 @@ main(int argc, char **argv) #include #include #include -#include "libpq-fe.h" +#include /* for ntohl/htonl */ #include