diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-11-06 21:13:25 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-11-06 21:13:25 +0000 |
commit | 4d48cf61a2734aa37a7a5904f5c1454a62aa943a (patch) | |
tree | 2526d2dbf72ba52f24f6d26ff5d6720b8c8ecc5f /kqueue.c | |
parent | 5ec43fe446d399464125d7cc0d5d1182756c953f (diff) | |
download | libevent-4d48cf61a2734aa37a7a5904f5c1454a62aa943a.tar.gz |
Fix kqueue.c build on GNU/kFreeBSD systems.
Yes, some people like to have a BSD-family kernel (thus getting
kqueue) with a GNU-family libc (thus occasionally mandating
_GNU_SOURCE).
Thanks to Debian for noticing this.
svn:r1514
Diffstat (limited to 'kqueue.c')
-rw-r--r-- | kqueue.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -30,6 +30,8 @@ #include "event-config.h" #endif +#define _GNU_SOURCE + #include <sys/types.h> #ifdef _EVENT_HAVE_SYS_TIME_H #include <sys/time.h> |