diff options
Diffstat (limited to 'www/thttpd/files/patch-fdwatch.c')
-rw-r--r-- | www/thttpd/files/patch-fdwatch.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/www/thttpd/files/patch-fdwatch.c b/www/thttpd/files/patch-fdwatch.c new file mode 100644 index 000000000000..da59f033a755 --- /dev/null +++ b/www/thttpd/files/patch-fdwatch.c @@ -0,0 +1,21 @@ +--- 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> |