mirror of
https://github.com/ZDoom/acc.git
synced 2025-02-06 22:10:52 +00:00
Fix compilation on OS X and other systems without non-standard <malloc.h>
All required declarations are in <stdlib.h>
This commit is contained in:
parent
998c8b15b2
commit
9487be3e67
2 changed files with 1 additions and 2 deletions
1
parse.c
1
parse.c
|
@ -10,7 +10,6 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <malloc.h>
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
// HEADER FILES ------------------------------------------------------------
|
// HEADER FILES ------------------------------------------------------------
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <malloc.h>
|
#include <stdlib.h>
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
#include "strlist.h"
|
#include "strlist.h"
|
||||||
#include "error.h"
|
#include "error.h"
|
||||||
|
|
Loading…
Reference in a new issue