summaryrefslogtreecommitdiffstats
path: root/src/base
diff options
context:
space:
mode:
authorNathan Zhou <zzhou612@gmail.com>2018-11-30 16:59:25 +0800
committerNathan Zhou <zzhou612@gmail.com>2018-11-30 16:59:25 +0800
commit39ff80c0b3aa1d7df067a33296f226118ea522c2 (patch)
treef67f9ec9a1dcf4a2f728aded6c9144828e5a87bb /src/base
parent5aa3025ce7264a172a070a78d7b7db0cd1fca3f0 (diff)
downloadabc-39ff80c0b3aa1d7df067a33296f226118ea522c2.tar.gz
abc-39ff80c0b3aa1d7df067a33296f226118ea522c2.tar.bz2
abc-39ff80c0b3aa1d7df067a33296f226118ea522c2.zip
fix: header <malloc.h> is depreciated
Diffstat (limited to 'src/base')
-rw-r--r--src/base/main/mainReal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/main/mainReal.c b/src/base/main/mainReal.c
index 353f7015..180ec447 100644
--- a/src/base/main/mainReal.c
+++ b/src/base/main/mainReal.c
@@ -50,7 +50,7 @@ SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#include <sys/resource.h>
#include <unistd.h>
#include <signal.h>
-#include <malloc.h>
+#include <stdlib.h>
#endif
#include "base/abc/abc.h"