Commit ff5e8a26 authored by Peter Eisentraut's avatar Peter Eisentraut

Fix typo.

parent e5390263
<!-- <!--
$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"> <chapter id="libpq">
...@@ -1999,17 +1999,17 @@ call <function>fe_setauthsvc</function> at all. ...@@ -1999,17 +1999,17 @@ call <function>fe_setauthsvc</function> at all.
<para> <para>
To build (i.e., compile and link) your libpq programs you need to To build (i.e., compile and link) your libpq programs you need to
do the following things: do all of the following things:
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para> <para>
Include the <filename>libpq-fe.h</filename> header file: Include the <filename>libpq-fe.h</filename> header file:
<programlisting> <programlisting>
#include &lt;libpq-fe&gt; #include &lt;libpq-fe.h&gt;
</programlisting> </programlisting>
If you failed to do that then you will normally get error 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> <screen>
foo.c: In function `main': foo.c: In function `main':
foo.c:34: `PGconn' undeclared (first use in this function) foo.c:34: `PGconn' undeclared (first use in this function)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment