[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Add a missing prototype to our libevent configure stanza.



commit 53a807e1e94e01bf3ea7e90d1203b952eee929b0
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date:   Tue Mar 13 13:37:26 2018 +0100

    Add a missing prototype to our libevent configure stanza.
    
    Fixes bug 25474; bugfix on 0.3.2.5-alpha.
---
 changes/bug25474 | 5 +++++
 configure.ac     | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/changes/bug25474 b/changes/bug25474
new file mode 100644
index 000000000..7d3bd1c5f
--- /dev/null
+++ 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
index 5a74d6c61..b5cacd06a 100644
--- 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); }



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits