From 3cbb1b2b64453c5504df5696ffbf72cb08e43f9c Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Wed, 26 Apr 2006 17:23:28 +0000 Subject: Use the HAVE_MALLOC_H and HAVE_PROCESS_H defines (more logical). --- lib/hostsyn.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/hostsyn.c') diff --git a/lib/hostsyn.c b/lib/hostsyn.c index fac78f11f..30dc4963a 100644 --- a/lib/hostsyn.c +++ b/lib/hostsyn.c @@ -26,9 +26,9 @@ #include #include -#if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__) +#ifdef HAVE_MALLOC_H #include -#else +#endif #ifdef HAVE_SYS_TYPES_H #include #endif @@ -55,13 +55,12 @@ #include #include #endif -#endif #ifdef HAVE_SETJMP_H #include #endif -#ifdef WIN32 +#ifdef HAVE_PROCESS_H #include #endif -- cgit v1.2.1