瀏覽代碼

Fixed compile error on openbsd

Tatsuhiro Tsujikawa 14 年之前
父節點
當前提交
973e0df748
共有 2 個文件被更改,包括 4 次插入0 次删除
  1. 2 0
      src/LibgcryptARC4Encryptor.h
  2. 2 0
      src/LibsslARC4Encryptor.h

+ 2 - 0
src/LibgcryptARC4Encryptor.h

@@ -37,6 +37,8 @@
 
 #include "common.h"
 
+#include <cstdlib>
+
 #include <gcrypt.h>
 
 namespace aria2 {

+ 2 - 0
src/LibsslARC4Encryptor.h

@@ -37,6 +37,8 @@
 
 #include "common.h"
 
+#include <cstdlib>
+
 #include <openssl/rc4.h>
 
 namespace aria2 {