summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq++
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-01-22 19:02:40 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-01-22 19:02:40 +0000
commit04c8d4c66082c1717ff73ec0c4eb4b447502c7fd (patch)
tree1541971a5c204c5d318bc9dfff14f0e16c11d22b /src/interfaces/libpq++
parentc64f083cf4b9125f55bccfbb3b1f0aa38e3ce712 (diff)
downloadpostgresql-04c8d4c66082c1717ff73ec0c4eb4b447502c7fd.tar.gz
libpq++/pgconnection.h must not include postgres_fe.h, else it fails to
compile in client apps that use the standard installed header set. To allow removing that include, move DLLIMPORT definitions out of c.h and into the appropriate port-specific header files.
Diffstat (limited to 'src/interfaces/libpq++')
-rw-r--r--src/interfaces/libpq++/pgconnection.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/interfaces/libpq++/pgconnection.h b/src/interfaces/libpq++/pgconnection.h
index 217006f3b7..9e025abe2d 100644
--- a/src/interfaces/libpq++/pgconnection.h
+++ b/src/interfaces/libpq++/pgconnection.h
@@ -13,7 +13,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: pgconnection.h,v 1.14 2001/09/30 22:30:37 tgl Exp $
+ * $Id: pgconnection.h,v 1.15 2002/01/22 19:02:40 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -38,7 +38,6 @@ extern "C" {
#endif
extern "C" {
-#include "postgres_fe.h"
#include "libpq-fe.h"
}