summaryrefslogtreecommitdiff
path: root/src/interfaces/odbc/environ.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-10-28 15:10:36 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-10-28 15:10:36 +0000
commit3eb9b73718f1d14ff3f4cc005fa7c665995c5a77 (patch)
treee8a595c2dbf824b6b064003c1c6b32f9da191d7f /src/interfaces/odbc/environ.c
parent8df6b2b53f957ec391f19eaeea0cd942c65facad (diff)
downloadpostgresql-3eb9b73718f1d14ff3f4cc005fa7c665995c5a77.tar.gz
Remove compiler warnings (add missing include files). Only link against
-lm if it's actually there.
Diffstat (limited to 'src/interfaces/odbc/environ.c')
-rw-r--r--src/interfaces/odbc/environ.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interfaces/odbc/environ.c b/src/interfaces/odbc/environ.c
index 1c4cfef367..0b95291881 100644
--- a/src/interfaces/odbc/environ.c
+++ b/src/interfaces/odbc/environ.c
@@ -18,6 +18,7 @@
#include "statement.h"
#include <stdlib.h>
#include <malloc.h>
+#include <string.h>
/* The one instance of the handles */
ConnectionClass *conns[MAX_CONNECTIONS];