commit 53a807e1e94e01bf3ea7e90d1203b952eee929b0
parent 0026d1a673e8b01057b0735c977a55995812c85e
Author: Nick Mathewson <nickm@torproject.org>
Date: Tue, 13 Mar 2018 13:37:26 +0100
Add a missing prototype to our libevent configure stanza.
Fixes bug 25474; bugfix on 0.3.2.5-alpha.
Diffstat:
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/changes/bug25474 b/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.
+
diff --git a/configure.ac b/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); }