From 9838dac7331ee9aef8e5567c095245c26e71919b Mon Sep 17 00:00:00 2001
From: Michiel van Baak <michiel@vanbaak.info>
Date: Wed, 5 Nov 2008 20:33:11 +0000
Subject: [PATCH] make this compile on OpenBSD again.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@154839 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 res/res_http_post.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/res/res_http_post.c b/res/res_http_post.c
index 8450fb7ebb..0d9ca571c6 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"
-- 
GitLab