From: Marko Kreen Date: Sun, 26 Sep 2010 04:03:47 +0000 (-0700) Subject: base: malloc.h is needed only on darwin X-Git-Url: http://git.postgresql.org/gitweb/static/%7B%7Bpgdulink%28?a=commitdiff_plain;h=25b460f7cdb4a4447d23ae94ca2441a79bc76029;p=libusual.git base: malloc.h is needed only on darwin --- diff --git a/usual/base.c b/usual/base.c index 9489d9f..06e4148 100644 --- a/usual/base.c +++ b/usual/base.c @@ -18,7 +18,7 @@ #include -#ifdef HAVE_MALLOC_H +#if defined(HAVE_MALLOC_H) && defined(__darwin__) #include #endif