Fixed compile error on the system which lacks poll() * src/DownloadEngineFactory.cc
@@ -1,3 +1,8 @@
+2010-04-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
+
+ Fixed compile error on the system which lacks poll()
+ * src/DownloadEngineFactory.cc
2010-04-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
In SocketCore::isReadable()/isWritable(), use poll() if it is
@@ -67,7 +67,9 @@
#ifdef HAVE_KQUEUE
# include "KqueueEventPoll.h"
#endif // HAVE_KQUEUE
-#include "PollEventPoll.h"
+#ifdef HAVE_POLL
+# include "PollEventPoll.h"
+#endif // HAVE_POLL
#include "SelectEventPoll.h"
#include "DlAbortEx.h"
#include "FileAllocationEntry.h"