Skip to content

Commit 1764e53

Browse files
committed
config_*: Remove malloc.h
malloc.h is deprecated and non-standard + nothing seems to be using anything that isn't in stdlib.h anyway
1 parent ba256a8 commit 1764e53

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/config_unix.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,6 @@
8585
#include <stdlib.h>
8686
#include <string.h>
8787

88-
#ifdef HAVE_MALLOC_H
89-
#include <malloc.h>
90-
#endif
91-
9288
#ifdef HAVE_SYS_SOCK_IO_H
9389
#include <sys/sockio.h>
9490
#endif

src/config_win32.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565

6666
#include <assert.h>
6767
#include <process.h>
68-
#include <malloc.h>
6968
#include <stdio.h>
7069
#include <memory.h>
7170
#include <errno.h>

0 commit comments

Comments
 (0)