Browse Source

Fix compilation on libevent2-only systems

Patch from rubiate; fixes bug 22219.  Remember, we don't support
libevent1 any more.
Nick Mathewson 7 years ago
parent
commit
5dab99d6a8
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/or/channelpadding.c
  2. 1 1
      src/test/test_channelpadding.c

+ 1 - 1
src/or/channelpadding.c

@@ -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 *);

+ 1 - 1
src/test/test_channelpadding.c

@@ -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"