Package: libevent
Severity: important
Version: 1.3e-3
Tags: patch
User: [EMAIL PROTECTED]
Usertags: kfreebsd
Hi,
the current version fails to build on GNU/kFreeBSD.
It needs a small tweak, see bellow. The kqueue.c is not even compiled
on linux systems. See also
http://lists.debian.org/debian-bsd/2008/08/msg00023.html
It would also be nice if you can ask upstream
to include similar change.
Thanks in advance
Petr
--- libevent-1.3e/kqueue.c
+++ libevent-1.3e/kqueue.c
@@ -30,6 +30,8 @@
#include "config.h"
#endif
+#define _GNU_SOURCE 1
+
#include <sys/types.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]