diff options
Diffstat (limited to 'compat.h')
-rw-r--r-- | compat.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -27,6 +27,19 @@ #include <termios.h> #include <wchar.h> +#ifdef HAVE_EVENT2_EVENT_H +#include <event2/event.h> +#include <event2/event_compat.h> +#include <event2/event_struct.h> +#include <event2/buffer.h> +#include <event2/buffer_compat.h> +#include <event2/bufferevent.h> +#include <event2/bufferevent_struct.h> +#include <event2/bufferevent_compat.h> +#else +#include <event.h> +#endif + #ifdef HAVE_MALLOC_TRIM #include <malloc.h> #endif |