Browse Source

Add a missing prototype to our libevent configure stanza.

Fixes bug 25474; bugfix on 0.3.2.5-alpha.
Nick Mathewson 6 years ago
parent
commit
53a807e1e9
2 changed files with 7 additions and 1 deletions
  1. 5 0
      changes/bug25474
  2. 2 1
      configure.ac

+ 5 - 0
changes/bug25474

@@ -0,0 +1,5 @@
+  o Minor bugfixes (compilation):
+    - Fix a c99 compliance issue in our configuration script that was
+      causing compilation issues when compiling Tor with certain
+      versions of xtools. Fixes bug 25474; bugfix on 0.3.2.5-alpha.
+

+ 2 - 1
configure.ac

@@ -631,7 +631,8 @@ TOR_SEARCH_LIBRARY(libevent, $trylibeventdir, [-levent $STATIC_LIBEVENT_FLAGS $T
 #include <winsock2.h>
 #endif
 struct event_base;
-struct event_base *event_base_new(void);],
+struct event_base *event_base_new(void);
+void event_base_free(struct event_base *);],
     [
 #ifdef _WIN32
 {WSADATA d; WSAStartup(0x101,&d); }