mirror of
https://github.com/curl/curl.git
synced 2026-08-02 20:40:29 +03:00
Use the HAVE_MALLOC_H and HAVE_PROCESS_H defines
(more logical).
This commit is contained in:
parent
d75e587613
commit
3cbb1b2b64
8 changed files with 30 additions and 36 deletions
|
|
@ -26,9 +26,9 @@
|
|||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
|
||||
#ifdef HAVE_MALLOC_H
|
||||
#include <malloc.h>
|
||||
#else
|
||||
#endif
|
||||
#ifdef HAVE_SYS_TYPES_H
|
||||
#include <sys/types.h>
|
||||
#endif
|
||||
|
|
@ -55,13 +55,12 @@
|
|||
#include <inet.h>
|
||||
#include <stdlib.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SETJMP_H
|
||||
#include <setjmp.h>
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef HAVE_PROCESS_H
|
||||
#include <process.h>
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue