mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-27 06:33:21 -05:00
[mpd] move include of libevent from mpd.h to mpd.c
This commit is contained in:
parent
36499f4997
commit
1714f3dee4
10
src/mpd.c
10
src/mpd.c
@ -34,6 +34,15 @@
|
||||
#include <stdint.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#ifdef HAVE_LIBEVENT2
|
||||
# include <event2/event.h>
|
||||
# include <event2/buffer.h>
|
||||
# include <event2/bufferevent.h>
|
||||
# include <event2/listener.h>
|
||||
#else
|
||||
# include <event.h>
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_SYS_EVENTFD_H) && defined(HAVE_EVENTFD)
|
||||
# define USE_EVENTFD
|
||||
# include <sys/eventfd.h>
|
||||
@ -48,7 +57,6 @@
|
||||
#include "conffile.h"
|
||||
#include "misc.h"
|
||||
#include "listener.h"
|
||||
#include "mpd.h"
|
||||
|
||||
#include "player.h"
|
||||
#include "filescanner.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user