Commit fe22872d authored by Yang Tse's avatar Yang Tse
Browse files

include <malloc.h> only if HAVE_MALLOC_H and NEED_MALLOC_H are both defined.

parent 4d95d23d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -56,6 +56,8 @@
#define HAVE_ZLIB_H 1
#define HAVE_SYS_IOCTL_H 1

#define NEED_MALLOC_H 1

#define USE_OPENSSL 1
#define USE_SSLEAY 1
#define CURL_DISABLE_LDAP 1
+3 −0
Original line number Diff line number Diff line
@@ -170,6 +170,9 @@
/* Define if you have the <malloc.h> header file. */
#define HAVE_MALLOC_H

/* Define if you need the malloc.h header file. */
/* #define NEED_MALLOC_H 1 */

/* Define if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H

+3 −0
Original line number Diff line number Diff line
@@ -290,6 +290,9 @@
/* Define to 1 if you have the <malloc.h> header file. */
/* #undef HAVE_MALLOC_H */

/* Define to 1 if you need the malloc.h header file. */
/* #undef NEED_MALLOC_H */

/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1

+5 −0
Original line number Diff line number Diff line
@@ -41,6 +41,11 @@
#define HAVE_MALLOC_H 1
#endif

/* Define if you need the malloc.h header file. */
#ifndef __SALFORDC__
#define NEED_MALLOC_H 1
#endif

/* Define if you have the <netdb.h> header file.  */
/* #define HAVE_NETDB_H 1 */

+3 −0
Original line number Diff line number Diff line
@@ -39,6 +39,9 @@
/* Define if you have the <malloc.h> header file.  */
#define HAVE_MALLOC_H 1

/* Define if you need the malloc.h header file. */
#define NEED_MALLOC_H 1

/* Define if you have the <netdb.h> header file.  */
/* #define HAVE_NETDB_H 1 */

Loading