mirror of
https://github.com/GNOME/libxml2.git
synced 2025-04-06 19:20:23 +08:00
replaced malloc.h with stdlib.h to quiet compiler
This commit is contained in:
parent
7066a79c63
commit
e7f12e6577
2
SAX.c
2
SAX.c
@ -3,7 +3,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include "tree.h"
|
||||
#include "parser.h"
|
||||
#include "error.h"
|
||||
|
@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include "entities.h"
|
||||
|
||||
|
2
parser.c
2
parser.c
@ -15,7 +15,7 @@
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
#include <string.h> /* for memset() only */
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
#include <sys/stat.h>
|
||||
#ifdef HAVE_FCNTL_H
|
||||
#include <fcntl.h>
|
||||
|
2
tester.c
2
tester.c
@ -24,7 +24,7 @@
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <malloc.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "parser.h"
|
||||
#include "tree.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user