]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix compilation of test_addr.c
authorNick Mathewson <nickm@torproject.org>
Wed, 9 May 2018 00:20:54 +0000 (20:20 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 9 May 2018 00:20:54 +0000 (20:20 -0400)
This needs to include crypto_rand.h (which it didn't before it was
merged).

src/test/test_addr.c

index 505e1533d4febd8c5fb7e13961dfa1674ec8f9ff..40db31320f9e36eb694379edf6acd1adc1b9471f 100644 (file)
@@ -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"