diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-12-01 03:51:59 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-12-01 03:51:59 +0000 |
commit | 41ba4575b3d658564a693779255c96c2d0d67804 (patch) | |
tree | f9d09dd2575f394b308a32d39ccf6df20103d752 | |
parent | b457cfb5ebab5786beed8168b5b0ef1fc5b2797f (diff) | |
download | tor-41ba4575b3d658564a693779255c96c2d0d67804.tar.gz tor-41ba4575b3d658564a693779255c96c2d0d67804.zip |
Fix windows build.
svn:r3053
-rw-r--r-- | src/common/compat.c | 1 | ||||
-rw-r--r-- | src/common/fakepoll.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/common/compat.c b/src/common/compat.c index 029622b4d2..e025bff207 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -8,6 +8,7 @@ const char compat_c_id[] = "$Id$"; #define _GNU_SOURCE #include "orconfig.h" +#include "fakepoll.h" #include "compat.h" #ifdef MS_WINDOWS diff --git a/src/common/fakepoll.c b/src/common/fakepoll.c index 02be8c9d8f..19f5c1de31 100644 --- a/src/common/fakepoll.c +++ b/src/common/fakepoll.c @@ -67,7 +67,7 @@ tor_poll(struct pollfd *ufds, unsigned int nfds, int timeout) for (idx = 0; idx < nfds; ++idx) { ufds[idx].revents = 0; fd = ufds[idx].fd; - tor_assert(SOCKET_SEEMS_POLLABLE(fd)); + tor_assert(SOCKET_IS_POLLABLE(fd)); if (fd > maxfd) { maxfd = fd; #ifdef MS_WINDOWS |