]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
libgen.h is also needed on Darwin for basename(3)
authorTilghman Lesher <tilghman@meg.abyt.es>
Thu, 7 Jul 2011 19:17:19 +0000 (19:17 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Thu, 7 Jul 2011 19:17:19 +0000 (19:17 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@326830 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_http_post.c

index 268db011e05976fe36a913c62a02d992d471d471..3839c3813024fdb0a37cc308fd49813c4b381199 100644 (file)
@@ -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