diff options
author | Martin Kraemer <martin@php.net> | 2002-11-28 09:19:16 +0000 |
---|---|---|
committer | Martin Kraemer <martin@php.net> | 2002-11-28 09:19:16 +0000 |
commit | 966f75d4fbb7f395c60ffb3cd5c7948391628ade (patch) | |
tree | dd75bf7ab31faef2db903721f4cf75e21853b582 | |
parent | f3845c3ae08193629ad6e149853ae93b8e2cb02b (diff) | |
download | php-git-966f75d4fbb7f395c60ffb3cd5c7948391628ade.tar.gz |
Portability: avoid <malloc.h> warnings on FreeBSD
-rw-r--r-- | ext/gd/gdcache.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/gdcache.h b/ext/gd/gdcache.h index 06bf0ee6ce..87ab305aba 100644 --- a/ext/gd/gdcache.h +++ b/ext/gd/gdcache.h @@ -40,7 +40,7 @@ /* header */ /*********************************************************/ -#if (!defined _OSD_POSIX) && HAVE_MALLOC_H +#if (!defined(_OSD_POSIX) && !defined(__FreeBSD__)) && HAVE_MALLOC_H #include <malloc.h> #else #include <stdlib.h> /* BS2000/OSD defines malloc() & friends in stdlib.h */ |