[asterisk-commits] tilghman: branch 1.8 r326830 - /branches/1.8/res/res_http_post.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jul 7 14:17:23 CDT 2011
Author: tilghman
Date: Thu Jul 7 14:17:19 2011
New Revision: 326830
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=326830
Log:
libgen.h is also needed on Darwin for basename(3)
Modified:
branches/1.8/res/res_http_post.c
Modified: branches/1.8/res/res_http_post.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/res/res_http_post.c?view=diff&rev=326830&r1=326829&r2=326830
==============================================================================
--- branches/1.8/res/res_http_post.c (original)
+++ branches/1.8/res/res_http_post.c Thu Jul 7 14:17:19 2011
@@ -37,7 +37,7 @@
#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
More information about the asterisk-commits
mailing list