Browse Source

2009-07-09 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

	Fixed compile error with openSSL
	* src/bittorrent_helper.cc
	* src/messageDigest.h
Tatsuhiro Tsujikawa 16 năm trước cách đây
mục cha
commit
96113c0745
3 tập tin đã thay đổi với 11 bổ sung1 xóa
  1. 6 0
      ChangeLog
  2. 1 0
      src/bittorrent_helper.cc
  3. 4 1
      src/messageDigest.h

+ 6 - 0
ChangeLog

@@ -1,3 +1,9 @@
+2009-07-09  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
+
+	Fixed compile error with openSSL
+	* src/bittorrent_helper.cc
+	* src/messageDigest.h
+
 2009-07-07  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 
 	Removed bad code: setting certificate type priority to key

+ 1 - 0
src/bittorrent_helper.cc

@@ -34,6 +34,7 @@
 /* copyright --> */
 #include "bittorrent_helper.h"
 
+#include <cstring>
 #include <algorithm>
 #include <deque>
 

+ 4 - 1
src/messageDigest.h

@@ -36,10 +36,13 @@
 #define _D_MESSAGE_DIGEST_H_
 
 #include "common.h"
+
+#include <cstring>
+#include <map>
+
 #include "SharedHandle.h"
 #include "DlAbortEx.h"
 #include "StringFormat.h"
-#include <map>
 
 #ifdef HAVE_LIBSSL
 #include <openssl/evp.h>