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

@@ -3,7 +3,11 @@
#define __DMAP_HELPERS_H__
#include <event.h>
#include "evhttp/evhttp.h"
#ifdef HAVE_LIBEVENT2
# include <evhttp.h>
#else
# include "evhttp/evhttp.h"
#endif
#include "db.h"