From 5dab99d6a81480278044dfbc1e51e7b7c3cc19e4 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 10 May 2017 11:08:23 -0400 Subject: [PATCH] Fix compilation on libevent2-only systems Patch from rubiate; fixes bug 22219. Remember, we don't support libevent1 any more. --- src/or/channelpadding.c | 2 +- src/test/test_channelpadding.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/or/channelpadding.c b/src/or/channelpadding.c index 4121651562..f5248e8960 100644 --- a/src/or/channelpadding.c +++ b/src/or/channelpadding.c @@ -20,7 +20,7 @@ #include "rephist.h" #include "router.h" #include "compat_time.h" -#include +#include STATIC int channelpadding_get_netflow_inactive_timeout_ms(const channel_t *); STATIC int channelpadding_send_disable_command(channel_t *); diff --git a/src/test/test_channelpadding.c b/src/test/test_channelpadding.c index ba9769444e..ae6abe4bcd 100644 --- a/src/test/test_channelpadding.c +++ b/src/test/test_channelpadding.c @@ -11,7 +11,7 @@ #include "channelpadding.h" #include "compat_libevent.h" #include "config.h" -#include +#include #include "compat_time.h" #include "main.h" #include "networkstatus.h"