[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 541371a7a36cccfee8081a2558639357fc18f1c0
Author: Tomás Touceda <chiiph@xxxxxxxxxxxxxx>
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

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits