diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-07-01 15:02:01 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-07-01 15:20:37 -0400 |
commit | 6c440da9260b6f8fffca7cb95ed6e51f55c71b14 (patch) | |
tree | 79b12be0db0beb3fa918b5a37ad4b777be5b75a2 /src/test/test_addr.c | |
parent | 13116378b1a8118e277320e377a691064e54983a (diff) | |
download | tor-6c440da9260b6f8fffca7cb95ed6e51f55c71b14.tar.gz tor-6c440da9260b6f8fffca7cb95ed6e51f55c71b14.zip |
Remove system headers from or.h
Diffstat (limited to 'src/test/test_addr.c')
-rw-r--r-- | src/test/test_addr.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/test_addr.c b/src/test/test_addr.c index 0a3212adbc..1069e25b43 100644 --- a/src/test/test_addr.c +++ b/src/test/test_addr.c @@ -11,6 +11,10 @@ #include "or/addressmap.h" #include "test/log_test_helpers.h" +#ifdef HAVE_SYS_UN_H +#include <sys/un.h> +#endif + /** Mocking replacement: only handles localhost. */ static int mock_tor_addr_lookup(const char *name, uint16_t family, tor_addr_t *addr_out) @@ -1257,4 +1261,3 @@ struct testcase_t addr_tests[] = { { "make_null", test_addr_make_null, 0, NULL, NULL }, END_OF_TESTCASES }; - |