aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2011-07-07 19:20:38 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2011-07-07 19:20:38 +0000
commit0847f36c973247c1f2db1463fdc013708bf071b7 (patch)
treee04904ced3e79b122ec270ae08c8ebb3cee26a58
parent2db968139e780b63e6d11b52e11b125ddfc2ae8b (diff)
Merged revisions 326830 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r326830 | tilghman | 2011-07-07 14:17:19 -0500 (Thu, 07 Jul 2011) | 1 line libgen.h is also needed on Darwin for basename(3) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@326842 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--res/res_http_post.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_http_post.c b/res/res_http_post.c
index 0f2373730..c0719b6da 100644
--- a/res/res_http_post.c
+++ b/res/res_http_post.c
@@ -37,7 +37,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#include <sys/stat.h>
#include <fcntl.h>
#include <gmime/gmime.h>
-#if defined (__OpenBSD__) || defined(__FreeBSD__)
+#if defined (__OpenBSD__) || defined(__FreeBSD__) || defined(__Darwin__)
#include <libgen.h>
#endif