|
Link Here
|
| 531 |
index 92ae41a..d0dd7e4 100644 |
531 |
index 92ae41a..d0dd7e4 100644 |
| 532 |
--- monitor.h |
532 |
--- monitor.h |
| 533 |
+++ monitor.h |
533 |
+++ monitor.h |
| 534 |
@@ -13,4 +13,7 @@ monitor_remove_directory(int fd, const char * path); |
534 |
@@ -5,4 +5,7 @@ monitor_remove_directory(int fd, const char * path); |
| 535 |
#ifdef HAVE_INOTIFY |
535 |
#ifdef HAVE_INOTIFY |
| 536 |
void * |
536 |
void * |
| 537 |
start_inotify(); |
537 |
start_inotify(); |
|
Link Here
|
| 543 |
index 06ec43a..9827e6e 100644 |
543 |
index 06ec43a..9827e6e 100644 |
| 544 |
--- upnpevents.c |
544 |
--- upnpevents.c |
| 545 |
+++ upnpevents.c |
545 |
+++ upnpevents.c |
| 546 |
@@ -417,6 +417,10 @@ void upnpevents_selectfds(fd_set *readset, fd_set *writeset, int * max_fd) |
546 |
@@ -47,6 +47,7 @@ |
|
|
547 |
*/ |
| 548 |
#include "config.h" |
| 549 |
|
| 550 |
+#define FD_SETSIZE 8192 |
| 551 |
#include <stdio.h> |
| 552 |
#include <string.h> |
| 553 |
#include <errno.h> |
| 554 |
@@ -424,6 +425,10 @@ void upnpevents_selectfds(fd_set *readset, fd_set *writeset, int * max_fd) |
| 547 |
{ |
555 |
{ |
| 548 |
struct upnp_event_notify * obj; |
556 |
struct upnp_event_notify * obj; |
| 549 |
for(obj = notifylist.lh_first; obj != NULL; obj = obj->entries.le_next) { |
557 |
for(obj = notifylist.lh_first; obj != NULL; obj = obj->entries.le_next) { |