mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-11-27 07:21:09 +08:00
Fix typo.
This commit is contained in:
parent
e5390263ed
commit
ff5e8a26a2
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.67 2001/08/28 14:20:25 petere Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.68 2001/09/04 00:18:18 petere Exp $
|
||||
-->
|
||||
|
||||
<chapter id="libpq">
|
||||
@ -1999,17 +1999,17 @@ call <function>fe_setauthsvc</function> at all.
|
||||
|
||||
<para>
|
||||
To build (i.e., compile and link) your libpq programs you need to
|
||||
do the following things:
|
||||
do all of the following things:
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>
|
||||
Include the <filename>libpq-fe.h</filename> header file:
|
||||
<programlisting>
|
||||
#include <libpq-fe>
|
||||
#include <libpq-fe.h>
|
||||
</programlisting>
|
||||
If you failed to do that then you will normally get error
|
||||
messages from your compiler, such as
|
||||
messages from your compiler similar to
|
||||
<screen>
|
||||
foo.c: In function `main':
|
||||
foo.c:34: `PGconn' undeclared (first use in this function)
|
||||
|
Loading…
Reference in New Issue
Block a user