[tor-commits] [vidalia/alpha] Fix includes for crypto in Linux

chiiph at torproject.org chiiph at torproject.org
Mon Jul 9 23:20:08 UTC 2012


commit 541371a7a36cccfee8081a2558639357fc18f1c0
Author: Tomás Touceda <chiiph at torproject.org>
Date:   Mon Jul 9 20:19:35 2012 -0300

    Fix includes for crypto in Linux
---
 src/common/crypto.cpp |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/common/crypto.cpp b/src/common/crypto.cpp
index 5ae5295..70689a9 100644
--- a/src/common/crypto.cpp
+++ b/src/common/crypto.cpp
@@ -61,6 +61,11 @@
 #include <wincrypt.h>
 #endif
 
+#if defined(Q_OS_LINUX)
+#include <stdint.h>
+#include <arpa/inet.h>
+#endif
+
 
 /** Returns up to <b>len</b> bytes of pseudorandom data on success, or an empty
  * QByteArray on failure. The caller should verify that the returned



More information about the tor-commits mailing list