Module: sip-router Branch: janakj/postgres Commit: 8fe0adf1581bd65f908ab595cdb35e387f212a87 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8fe0adf1...
Author: Maxim Sobolev sobomax@sippysoft.com Committer: Maxim Sobolev sobomax@sippysoft.com Date: Sat May 17 10:03:15 2008 +0000
Despite what some people believe there is no such thing as <malloc.h> in the C language nowadays.
---
modules/db_postgres/pg_con.c | 2 +- modules/db_postgres/pg_oid.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/db_postgres/pg_con.c b/modules/db_postgres/pg_con.c index bba6af6..b846b18 100644 --- a/modules/db_postgres/pg_con.c +++ b/modules/db_postgres/pg_con.c @@ -44,7 +44,7 @@ #include "../../dprint.h" #include "../../ut.h"
-#include <malloc.h> +#include <stdlib.h> #include <string.h> #include <netinet/in.h> #include <time.h> diff --git a/modules/db_postgres/pg_oid.c b/modules/db_postgres/pg_oid.c index ac4940f..bd2833e 100644 --- a/modules/db_postgres/pg_oid.c +++ b/modules/db_postgres/pg_oid.c @@ -41,7 +41,7 @@ #include "../../dprint.h" #include "../../ut.h" #include <strings.h> -#include <malloc.h> +#include <stdlib.h> #include <string.h>
/** An array of supported PostgreSQL field types. */