mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-10 22:10:15 -05:00
Let configure check libevent version and include according to version
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user