瀏覽代碼

Add a missing prototype to our libevent configure stanza.

Fixes bug 25474; bugfix on 0.3.2.5-alpha.
Nick Mathewson 6 年之前
父節點
當前提交
53a807e1e9
共有 2 個文件被更改,包括 7 次插入1 次删除
  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); }