From: Tilghman Lesher Date: Thu, 7 Jul 2011 19:17:19 +0000 (+0000) Subject: libgen.h is also needed on Darwin for basename(3) X-Git-Tag: 1.8.6.0-rc1~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42d185df48ff69331e016cbf0a22663b6155759d;p=thirdparty%2Fasterisk.git libgen.h is also needed on Darwin for basename(3) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@326830 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_http_post.c b/res/res_http_post.c index 268db011e0..3839c38130 100644 --- a/res/res_http_post.c +++ b/res/res_http_post.c @@ -37,7 +37,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") #include #include #include -#if defined (__OpenBSD__) || defined(__FreeBSD__) +#if defined (__OpenBSD__) || defined(__FreeBSD__) || defined(__Darwin__) #include #endif