Proper update to libevent 2 in spotify.h and pipe.h

This commit is contained in:
ejurgensen 2014-09-28 22:26:23 +02:00
parent a3a689573f
commit 661a557500
2 changed files with 11 additions and 2 deletions

View File

@ -3,7 +3,11 @@
#define __PIPE_H__
#include "db.h"
#include <event.h>
#ifdef HAVE_LIBEVENT2
# include <event2/buffer.h>
#else
# include <event.h>
#endif
int
pipe_setup(struct media_file_info *mfi);

View File

@ -3,7 +3,12 @@
#define __SPOTIFY_H__
#include "db.h"
#include <event.h>
#ifdef HAVE_LIBEVENT2
# include <event2/event.h>
# include <event2/buffer.h>
#else
# include <event.h>
#endif
int
spotify_playback_play(struct media_file_info *mfi);