summaryrefslogtreecommitdiff
path: root/src/DownloadEngine.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2006-02-28 02:25:45 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2006-02-28 02:25:45 +0000
commit20ba8c707adc2cafd76b2b29c59531d3ec0a7d94 (patch)
tree88cfbe969aa3acfa7ab1b34f718b3f43cdc8096e /src/DownloadEngine.cc
parent87a229cab18679042beb06076e5dec1dcfadaeae (diff)
* Util.{h,cc}: added startsWith().
* CookieBox.cc: rewrited criteriaFind() using Util::startsWith() and Util::endsWith(). * SocketCore.cc: struct addrinfo is now zero-initialized. * common.h: added #include directive of limit.h. * DownloadEngine.cc: added #include directive of sys/time.h and algorithm. * Exception.h: added #include directive of stdio.h. * AbstractCommand.h: added #include directive of sys/time.h. * DownloadCommand.h: added #include directive of sys/time.h. * *.h: added #include directive of common.h to all base classes. subclasses' one was removed.
Diffstat (limited to 'src/DownloadEngine.cc')
-rw-r--r--src/DownloadEngine.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/DownloadEngine.cc b/src/DownloadEngine.cc
index 80b98141..ff38fa17 100644
--- a/src/DownloadEngine.cc
+++ b/src/DownloadEngine.cc
@@ -24,7 +24,9 @@
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/time.h>
#include <fcntl.h>
+#include <algorithm>
using namespace std;