1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-27 21:29:02 +00:00
freebsd-ports/www/thttpd/files/patch-fdwatch.c
Michael Haro e72e10c116 Updates the port to the latest verion: 2.21b. Brings in interesting stuff like
kqueue and accept filtering support.

PR:		26822
Submitted by:	    maintainer
2001-05-01 00:34:46 +00:00

22 lines
461 B
C

--- fdwatch.c.orig Tue Apr 24 18:40:22 2001
+++ fdwatch.c Tue Apr 24 19:00:57 2001
@@ -32,6 +32,7 @@
#include <sys/time.h>
#include <sys/resource.h>
#include <syslog.h>
+#include <sys/param.h>
#ifndef MIN
#define MIN(a,b) ((a) < (b) ? (a) : (b))
@@ -44,6 +45,10 @@
#include <sys/poll.h>
#endif /* HAVE_SYS_POLL_H */
#endif /* HAVE_POLL_H */
+
+#ifdef HAVE_FREEBSD_CURRENT
+#undef HAVE_KQUEUE
+#endif
#ifdef HAVE_SYS_EVENT_H
#include <sys/event.h>