Let configure check libevent version and include according to version

This commit is contained in:
ejurgensen
2014-03-13 23:33:35 +01:00
parent 5c40b2344c
commit 687f349927
25 changed files with 1935 additions and 88 deletions

View File

@@ -2,7 +2,12 @@
#ifndef __TRANSCODE_H__
#define __TRANSCODE_H__
#include "evhttp/evhttp.h"
#include <event.h>
#ifdef HAVE_LIBEVENT2
# include <evhttp.h>
#else
# include "evhttp/evhttp.h"
#endif
struct transcode_ctx;