diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-07-31 11:11:45 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-09-27 12:28:43 -0400 |
commit | 57e7b54b7b4102de0c5776a1268367c18090033b (patch) | |
tree | cde7c95a1cb1bd3acfe4ff5577cafeba59d7e412 /src/common/compat_libevent.h | |
parent | 94aac84a71bc695fe594e49a4fd0947fdbbd4895 (diff) | |
download | tor-57e7b54b7b4102de0c5776a1268367c18090033b.tar.gz tor-57e7b54b7b4102de0c5776a1268367c18090033b.zip |
Teach read_event/write_event manipulators about bufferevents.
Add an --enable-bufferevents config switch.
Diffstat (limited to 'src/common/compat_libevent.h')
-rw-r--r-- | src/common/compat_libevent.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/compat_libevent.h b/src/common/compat_libevent.h index fdf5e0a18f..a4011e37af 100644 --- a/src/common/compat_libevent.h +++ b/src/common/compat_libevent.h @@ -8,6 +8,9 @@ struct event; struct event_base; +#ifdef USE_BUFFEREVENTS +struct bufferevent; +#endif #ifdef HAVE_EVENT2_EVENT_H #include <event2/util.h> |