|
1 | 1 | <!--
|
2 |
| -$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.67 2001/08/28 14:20:25 petere Exp $ |
| 2 | +$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.68 2001/09/04 00:18:18 petere Exp $ |
3 | 3 | -->
|
4 | 4 |
|
5 | 5 | <chapter id="libpq">
|
@@ -1999,17 +1999,17 @@ call <function>fe_setauthsvc</function> at all.
|
1999 | 1999 |
|
2000 | 2000 | <para>
|
2001 | 2001 | To build (i.e., compile and link) your libpq programs you need to
|
2002 |
| - do the following things: |
| 2002 | + doall ofthe following things: |
2003 | 2003 |
|
2004 | 2004 | <itemizedlist>
|
2005 | 2005 | <listitem>
|
2006 | 2006 | <para>
|
2007 | 2007 | Include the <filename>libpq-fe.h</filename> header file:
|
2008 | 2008 | <programlisting>
|
2009 |
| -#include <libpq-fe> |
| 2009 | +#include <libpq-fe.h> |
2010 | 2010 | </programlisting>
|
2011 | 2011 | If you failed to do that then you will normally get error
|
2012 |
| - messages from your compiler, such as |
| 2012 | + messages from your compiler similar to |
2013 | 2013 | <screen>
|
2014 | 2014 | foo.c: In function `main':
|
2015 | 2015 | foo.c:34: `PGconn' undeclared (first use in this function)
|
|