From forked daapd

Hi,

Those are small changes carried in forked-daapd. (https://github.com/ejurgensen/forked-daapd)
It would be nice to accept them, doing so would help forked-daapd to follow libevent changes easier.

Thanks,
Balint