Backport GNU/kfreebsd kqueue fix

svn:r1515
This commit is contained in:
Nick Mathewson 2009-11-06 21:23:52 +00:00
parent 6ce14fd01c
commit e32d055b5e
2 changed files with 3 additions and 0 deletions

View File

@ -4,6 +4,7 @@ Changes in 1.4.13-stable:
o Fix compilation on Android, which forgot to define fd_mask in its sys/select.h
o Do not drop data from evbuffer when out of memory; reported by Jacek Masiulaniec
o Rename our replacement compat/sys/_time.h header to avoid build a conflict on HPUX; reported by Kathryn Hogg.
o Build kqueue.c correctly on GNU/kFreeBSD platforms. Patch pulled upstream from Debian.
Changes in 1.4.12-stable:

View File

@ -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>