diff options
author | Michiel van Baak <michiel@vanbaak.info> | 2008-11-05 20:33:11 +0000 |
---|---|---|
committer | Michiel van Baak <michiel@vanbaak.info> | 2008-11-05 20:33:11 +0000 |
commit | 9838dac7331ee9aef8e5567c095245c26e71919b (patch) | |
tree | 6877ef0ba6f72213614515d41f8b3c92775814c7 /res | |
parent | ccaefe4d407429320d7231504408b77b2fddcadd (diff) |
make this compile on OpenBSD again.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@154839 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res')
-rw-r--r-- | res/res_http_post.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/res/res_http_post.c b/res/res_http_post.c index 8450fb7eb..0d9ca571c 100644 --- a/res/res_http_post.c +++ b/res/res_http_post.c @@ -37,6 +37,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision: 111213 $") #include <sys/stat.h> #include <fcntl.h> #include <gmime/gmime.h> +#if defined (__OpenBSD__) +#include <libgen.h> +#endif #include "asterisk/linkedlists.h" #include "asterisk/http.h" |