Bladeren bron

Fixed compile error on openbsd

Tatsuhiro Tsujikawa 14 jaren geleden
bovenliggende
commit
973e0df748
2 gewijzigde bestanden met toevoegingen van 4 en 0 verwijderingen
  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 {