Prechádzať zdrojové kódy

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

Maxim Sobolev 17 rokov pred
rodič
commit
8fe0adf158

+ 1 - 1
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>

+ 1 - 1
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. */