#include <glog/logging.h>
#include <folly/io/async/EventUtil.h>
+#include <folly/portability/Event.h>
#include <boost/noncopyable.hpp>
#include <stddef.h>
void setEventBase(EventBase* eventBase);
- static void libeventCallback(int fd, short events, void* arg);
+ static void libeventCallback(libevent_fd_t fd, short events, void* arg);
struct event event_;
EventBase* eventBase_;