summaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/bind.c
diff options
context:
space:
mode:
authorByron Nikolaidis1998-07-22 23:47:48 +0000
committerByron Nikolaidis1998-07-22 23:47:48 +0000
commit6e66468f3a160878111578a93be2852635eb4f4d (patch)
tree2a0bbd3b9f18b68446a8d82e4e9b9fcb80ed3885 /src/interfaces/odbc/bind.c
parent2a677424122012d2eaa4c6d1113fc6b9b121720b (diff)
Version 06-30-0248
Diffstat (limited to 'src/interfaces/odbc/bind.c')
-rw-r--r--src/interfaces/odbc/bind.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/interfaces/odbc/bind.c b/src/interfaces/odbc/bind.c
index 0b8fe9dbde8..a30e4104e24 100644
--- a/src/interfaces/odbc/bind.c
+++ b/src/interfaces/odbc/bind.c
@@ -12,6 +12,11 @@
* Comments: See "notice.txt" for copyright and license information.
*
*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include "bind.h"
#include "environ.h"
#include "statement.h"
@@ -19,8 +24,15 @@
#include "pgtypes.h"
#include <stdlib.h>
#include <malloc.h>
+
+#ifdef HAVE_IODBC
+#include "iodbc.h"
+#include "isql.h"
+#include "isqlext.h"
+#else
#include <sql.h>
#include <sqlext.h>
+#endif
// Bind parameters on a statement handle