mirror of
https://github.com/curl/curl.git
synced 2026-08-25 21:03:34 +03:00
Simplify check for NEED_MALLOC_H, and make more explicit that NEED_MALLOC_H shall be defined if <malloc.h> header file must be included even when including <stdlib.h>.
This commit is contained in:
parent
ab486d1e27
commit
13616f8f96
16 changed files with 16 additions and 16 deletions
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
#if defined(HAVE_MALLOC_H) && defined(NEED_MALLOC_H)
|
||||
#ifdef NEED_MALLOC_H
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue