summaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/bind.c
diff options
context:
space:
mode:
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