aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/include/ecpglib.h
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-07-11 13:54:25 +0000
committerBruce Momjian <bruce@momjian.us>2006-07-11 13:54:25 +0000
commitb85a965f5fc7243d0386085e12f7a6c836503b42 (patch)
tree659ff5b830aa754b70dbde857d3597d356409c42 /src/interfaces/ecpg/include/ecpglib.h
parent45a43090748331134d57bc2b74e918b188f34f3a (diff)
downloadpostgresql-b85a965f5fc7243d0386085e12f7a6c836503b42.tar.gz
postgresql-b85a965f5fc7243d0386085e12f7a6c836503b42.zip
Allow each C include file to compile on its own by including any needed
header files.
Diffstat (limited to 'src/interfaces/ecpg/include/ecpglib.h')
-rw-r--r--src/interfaces/ecpg/include/ecpglib.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/include/ecpglib.h b/src/interfaces/ecpg/include/ecpglib.h
index 981aabefa73..8998f400792 100644
--- a/src/interfaces/ecpg/include/ecpglib.h
+++ b/src/interfaces/ecpg/include/ecpglib.h
@@ -1,7 +1,7 @@
/*
* this is a small part of c.h since we don't want to leak all postgres
* definitions into ecpg programs
- * $PostgreSQL: pgsql/src/interfaces/ecpg/include/ecpglib.h,v 1.66 2006/03/11 04:38:39 momjian Exp $
+ * $PostgreSQL: pgsql/src/interfaces/ecpg/include/ecpglib.h,v 1.67 2006/07/11 13:54:25 momjian Exp $
*/
#ifndef _ECPGLIB_H
@@ -9,6 +9,7 @@
#include "libpq-fe.h"
#include "ecpgtype.h"
+#include "sqlca.h"
#include <string.h>
#ifndef __cplusplus
@@ -39,7 +40,7 @@ extern "C"
struct sqlca_t;
-void ECPGinit_sqlca(struct sqlca_t * sqlca);
+void ECPGinit_sqlca(struct sqlca_t *sqlca);
void ECPGdebug(int, FILE *);
bool ECPGstatus(int, const char *);
bool ECPGsetcommit(int, const char *, const char *);