mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-25 12:06:12 -05:00
Let configure check libevent version and include according to version
This commit is contained in:
@@ -3,8 +3,11 @@
|
||||
#define __HTTPD_H__
|
||||
|
||||
#include <event.h>
|
||||
#include "evhttp/evhttp.h"
|
||||
|
||||
#ifdef HAVE_LIBEVENT2
|
||||
# include <evhttp.h>
|
||||
#else
|
||||
# include "evhttp/evhttp.h"
|
||||
#endif
|
||||
|
||||
void
|
||||
httpd_stream_file(struct evhttp_request *req, int id);
|
||||
|
||||
Reference in New Issue
Block a user