Commit 3cbb1b2b authored by Gisle Vanem's avatar Gisle Vanem
Browse files

Use the HAVE_MALLOC_H and HAVE_PROCESS_H defines

(more logical).
parent d75e5876
Loading
Loading
Loading
Loading
+3 −4
Original line number Original line Diff line number Diff line
@@ -26,9 +26,9 @@
#include <string.h>
#include <string.h>
#include <errno.h>
#include <errno.h>


#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
#ifdef HAVE_MALLOC_H  /* Win32 */
#include <malloc.h>
#include <malloc.h>
#else
#endif
#ifdef HAVE_SYS_TYPES_H
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#include <sys/types.h>
#endif
#endif
@@ -55,13 +55,12 @@
#include <inet.h>
#include <inet.h>
#include <stdlib.h>
#include <stdlib.h>
#endif
#endif
#endif


#ifdef HAVE_SETJMP_H
#ifdef HAVE_SETJMP_H
#include <setjmp.h>
#include <setjmp.h>
#endif
#endif


#ifdef WIN32
#ifdef HAVE_PROCESS_H
#include <process.h>
#include <process.h>
#endif
#endif


+3 −4
Original line number Original line Diff line number Diff line
@@ -26,9 +26,9 @@
#include <string.h>
#include <string.h>
#include <errno.h>
#include <errno.h>


#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
#ifdef HAVE_MALLOC_H  /* Win32 */
#include <malloc.h>
#include <malloc.h>
#else
#endif
#ifdef HAVE_SYS_TYPES_H
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#include <sys/types.h>
#endif
#endif
@@ -55,13 +55,12 @@
#include <inet.h>
#include <inet.h>
#include <stdlib.h>
#include <stdlib.h>
#endif
#endif
#endif


#ifdef HAVE_SETJMP_H
#ifdef HAVE_SETJMP_H
#include <setjmp.h>
#include <setjmp.h>
#endif
#endif


#ifdef WIN32
#ifdef HAVE_PROCESS_H
#include <process.h>
#include <process.h>
#endif
#endif


+3 −4
Original line number Original line Diff line number Diff line
@@ -26,9 +26,9 @@
#include <string.h>
#include <string.h>
#include <errno.h>
#include <errno.h>


#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
#ifdef HAVE_MALLOC_H  /* Win32 */
#include <malloc.h>
#include <malloc.h>
#else
#endif
#ifdef HAVE_SYS_TYPES_H
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#include <sys/types.h>
#endif
#endif
@@ -55,13 +55,12 @@
#include <inet.h>
#include <inet.h>
#include <stdlib.h>
#include <stdlib.h>
#endif
#endif
#endif


#ifdef HAVE_SETJMP_H
#ifdef HAVE_SETJMP_H
#include <setjmp.h>
#include <setjmp.h>
#endif
#endif


#ifdef WIN32
#ifdef HAVE_PROCESS_H
#include <process.h>
#include <process.h>
#endif
#endif


+3 −4
Original line number Original line Diff line number Diff line
@@ -26,9 +26,9 @@
#include <string.h>
#include <string.h>
#include <errno.h>
#include <errno.h>


#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
#ifdef HAVE_MALLOC_H  /* Win32 */
#include <malloc.h>
#include <malloc.h>
#else
#endif
#ifdef HAVE_SYS_TYPES_H
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#include <sys/types.h>
#endif
#endif
@@ -55,13 +55,12 @@
#include <inet.h>
#include <inet.h>
#include <stdlib.h>
#include <stdlib.h>
#endif
#endif
#endif


#ifdef HAVE_SETJMP_H
#ifdef HAVE_SETJMP_H
#include <setjmp.h>
#include <setjmp.h>
#endif
#endif


#ifdef WIN32
#ifdef HAVE_PROCESS_H
#include <process.h>
#include <process.h>
#endif
#endif


+7 −8
Original line number Original line Diff line number Diff line
@@ -26,9 +26,9 @@
#include <string.h>
#include <string.h>
#include <errno.h>
#include <errno.h>


#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
#ifdef HAVE_MALLOC_H
#include <malloc.h>
#include <malloc.h>
#else
#endif
#ifdef HAVE_SYS_TYPES_H
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#include <sys/types.h>
#endif
#endif
@@ -55,13 +55,12 @@
#include <inet.h>
#include <inet.h>
#include <stdlib.h>
#include <stdlib.h>
#endif
#endif
#endif


#ifdef HAVE_SETJMP_H
#ifdef HAVE_SETJMP_H
#include <setjmp.h>
#include <setjmp.h>
#endif
#endif


#ifdef WIN32
#ifdef HAVE_PROCESS_H
#include <process.h>
#include <process.h>
#endif
#endif


Loading