mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 13:43:47 +01:00
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:
parent
95fa7d1cf8
commit
5dab99d6a8
@ -20,7 +20,7 @@
|
|||||||
#include "rephist.h"
|
#include "rephist.h"
|
||||||
#include "router.h"
|
#include "router.h"
|
||||||
#include "compat_time.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_get_netflow_inactive_timeout_ms(const channel_t *);
|
||||||
STATIC int channelpadding_send_disable_command(channel_t *);
|
STATIC int channelpadding_send_disable_command(channel_t *);
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
#include "channelpadding.h"
|
#include "channelpadding.h"
|
||||||
#include "compat_libevent.h"
|
#include "compat_libevent.h"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <event.h>
|
#include <event2/event.h>
|
||||||
#include "compat_time.h"
|
#include "compat_time.h"
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include "networkstatus.h"
|
#include "networkstatus.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user