summaryrefslogtreecommitdiff
path: root/res/res_http_post.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2008-12-10 16:11:06 +0000
committerJoshua Colp <jcolp@digium.com>2008-12-10 16:11:06 +0000
commitbc3d3a25b5af0acc03ca7fba4c99f66b3d01240d (patch)
tree03934a4529ba006d3a1320f968c44ad17b521283 /res/res_http_post.c
parent402bd762c08f87a153656877392eb7862367b376 (diff)
FreeBSD also needs libgen.h
(closes issue #14051) Reported by: ys Patches: res_http_post.c.diff uploaded by ys (license 281) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@162660 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_http_post.c')
-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 0d9ca571c..4a3156720 100644
--- a/res/res_http_post.c
+++ b/res/res_http_post.c
@@ -37,7 +37,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision: 111213 $")
#include <sys/stat.h>
#include <fcntl.h>
#include <gmime/gmime.h>
-#if defined (__OpenBSD__)
+#if defined (__OpenBSD__) || defined(__FreeBSD__)
#include <libgen.h>
#endif