From 4d48cf61a2734aa37a7a5904f5c1454a62aa943a Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 6 Nov 2009 21:13:25 +0000 Subject: 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 --- kqueue.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kqueue.c') diff --git a/kqueue.c b/kqueue.c index cbcbb41a..7a92bbda 100644 --- a/kqueue.c +++ b/kqueue.c @@ -30,6 +30,8 @@ #include "event-config.h" #endif +#define _GNU_SOURCE + #include #ifdef _EVENT_HAVE_SYS_TIME_H #include -- cgit v1.2.1