Add a missing prototype to our libevent configure stanza.

Fixes bug 25474; bugfix on 0.3.2.5-alpha.
This commit is contained in:
Nick Mathewson 2018-03-13 13:37:26 +01:00
parent 0026d1a673
commit 53a807e1e9
2 changed files with 7 additions and 1 deletions

5
changes/bug25474 Normal file
View File

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

View File

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