make this compile on OpenBSD again.
authorMichiel van Baak <michiel@vanbaak.info>
Wed, 5 Nov 2008 20:33:11 +0000 (20:33 +0000)
committerMichiel van Baak <michiel@vanbaak.info>
Wed, 5 Nov 2008 20:33:11 +0000 (20:33 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@154839 65c4cc65-6c06-0410-ace0-fbb531ad65f3

res/res_http_post.c

index 8450fb7..0d9ca57 100644 (file)
@@ -37,6 +37,9 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision: 111213 $")
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <gmime/gmime.h>
 #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"
 
 #include "asterisk/linkedlists.h"
 #include "asterisk/http.h"