[tor-commits] [tor/master] Fix compilation of test_addr.c

nickm at torproject.org nickm at torproject.org
Wed May 9 00:21:26 UTC 2018


commit 01d729cbfe88e8a77b7bd42434e32771402f3fe7
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue May 8 20:20:54 2018 -0400

    Fix compilation of test_addr.c
    
    This needs to include crypto_rand.h (which it didn't before it was
    merged).
---
 src/test/test_addr.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/test/test_addr.c b/src/test/test_addr.c
index 505e1533d..40db31320 100644
--- a/src/test/test_addr.c
+++ b/src/test/test_addr.c
@@ -6,6 +6,7 @@
 #define ADDRESSMAP_PRIVATE
 #include "orconfig.h"
 #include "or.h"
+#include "crypto_rand.h"
 #include "test.h"
 #include "addressmap.h"
 #include "log_test_helpers.h"



More information about the tor-commits mailing list