Fix compilation on libevent2-only systems

Patch from rubiate; fixes bug 22219.  Remember, we don't support
libevent1 any more.
This commit is contained in:
Nick Mathewson 2017-05-10 11:08:23 -04:00
parent 95fa7d1cf8
commit 5dab99d6a8
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
#include "rephist.h"
#include "router.h"
#include "compat_time.h"
#include <event.h>
#include <event2/event.h>
STATIC int channelpadding_get_netflow_inactive_timeout_ms(const channel_t *);
STATIC int channelpadding_send_disable_command(channel_t *);

View File

@ -11,7 +11,7 @@
#include "channelpadding.h"
#include "compat_libevent.h"
#include "config.h"
#include <event.h>
#include <event2/event.h>
#include "compat_time.h"
#include "main.h"
#include "networkstatus.h"