diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-02-10 23:52:27 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-02-10 23:52:27 -0500 |
commit | 87a7cded026797755dae54245c8c7317043b6abe (patch) | |
tree | 83367d4b80076425019185b2592b31df9704a9f4 /poll.c | |
parent | de69eb7ba944bf4ec7a5ad30396985ca48cb267e (diff) | |
parent | 76d4c929d7504c604c0db6b14ad587028facc4d0 (diff) | |
download | libevent-87a7cded026797755dae54245c8c7317043b6abe.tar.gz |
Merge branch 'ifdef' of git://github.com/rosslagerwall/libevent
Diffstat (limited to 'poll.c')
-rw-r--r-- | poll.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -29,6 +29,8 @@ #include "event2/event-config.h" #include "evconfig-private.h" +#ifdef _EVENT_HAVE_POLL + #include <sys/types.h> #ifdef _EVENT_HAVE_SYS_TIME_H #include <sys/time.h> @@ -332,3 +334,5 @@ poll_dealloc(struct event_base *base) memset(pop, 0, sizeof(struct pollop)); mm_free(pop); } + +#endif /* _EVENT_HAVE_POLL */ |