Commit Briefs

Omar Polo

improve libevent2 handling

* add configure check * change the way the headers are required (copied from tmux)