diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-10-20 12:20:40 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-10-20 12:20:40 +0000 |
| commit | 07419749f206e5e3e623f3b391bc606d023078df (patch) | |
| tree | f24bc6401448d53228362745e9e87f00ee5944d9 /src | |
| parent | 2d0c618510c97e657e7c6a4babeb897841c9d1da (diff) | |
2008-10-20 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Included cstdlib. This fixed the compile error with g++-4.3.2.
* src/IteratableChecksumValidator.cc
* src/IteratableChunkChecksumValidator.cc
Diffstat (limited to 'src')
| -rw-r--r-- | src/IteratableChecksumValidator.cc | 3 | ||||
| -rw-r--r-- | src/IteratableChunkChecksumValidator.cc | 7 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/IteratableChecksumValidator.cc b/src/IteratableChecksumValidator.cc index 1d9283a9..b250af4d 100644 --- a/src/IteratableChecksumValidator.cc +++ b/src/IteratableChecksumValidator.cc @@ -33,6 +33,9 @@ */ /* copyright --> */ #include "IteratableChecksumValidator.h" + +#include <cstdlib> + #include "Util.h" #include "message.h" #include "SingleFileDownloadContext.h" diff --git a/src/IteratableChunkChecksumValidator.cc b/src/IteratableChunkChecksumValidator.cc index f6420f34..dc03fc67 100644 --- a/src/IteratableChunkChecksumValidator.cc +++ b/src/IteratableChunkChecksumValidator.cc @@ -33,6 +33,11 @@ */ /* copyright --> */ #include "IteratableChunkChecksumValidator.h" + +#include <cerrno> +#include <cstring> +#include <cstdlib> + #include "Util.h" #include "message.h" #include "MessageDigestHelper.h" @@ -46,8 +51,6 @@ #include "Logger.h" #include "messageDigest.h" #include "StringFormat.h" -#include <cerrno> -#include <cstring> namespace aria2 { |
