Explorar o código

Despite what some people believe there is no such thing
as <malloc.h> in the C language nowadays.

Maxim Sobolev %!s(int64=17) %!d(string=hai) anos
pai
achega
8fe0adf158
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      modules/db_postgres/pg_con.c
  2. 1 1
      modules/db_postgres/pg_oid.c

+ 1 - 1
modules/db_postgres/pg_con.c

@@ -44,7 +44,7 @@
 #include "../../dprint.h"
 #include "../../dprint.h"
 #include "../../ut.h"
 #include "../../ut.h"
 
 
-#include <malloc.h>
+#include <stdlib.h>
 #include <string.h>
 #include <string.h>
 #include <netinet/in.h>
 #include <netinet/in.h>
 #include <time.h>
 #include <time.h>

+ 1 - 1
modules/db_postgres/pg_oid.c

@@ -41,7 +41,7 @@
 #include "../../dprint.h"
 #include "../../dprint.h"
 #include "../../ut.h"
 #include "../../ut.h"
 #include <strings.h>
 #include <strings.h>
-#include <malloc.h>
+#include <stdlib.h>
 #include <string.h>
 #include <string.h>
 
 
 /** An array of supported PostgreSQL field types. */
 /** An array of supported PostgreSQL field types. */