Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Core
Tor
Commits
6711a172
Commit
6711a172
authored
Jul 10, 2018
by
Nick Mathewson
⛰
Browse files
Merge remote-tracking branch 'neel/fbsd-cfix'
parents
422abd4f
6d58c20d
Changes
3
Hide whitespace changes
Inline
Side-by-side
changes/bug26715
0 → 100644
View file @
6711a172
o Major bugfixes (compilation):
- Include additional headers in connection_edge.c and ipv6.h in order
to build correctly on FreeBSD post-refactor. Fixes bug 26715; bugfix
on 0.3.5.1-alpha. Patch by Neel Chauhan.
src/core/or/connection_edge.c
View file @
6711a172
...
...
@@ -129,6 +129,13 @@
#endif
#endif
/* defined(HAVE_LINUX_NETFILTER_IPV6_IP6_TABLES_H) */
#ifdef HAVE_FCNTL_H
#include
<fcntl.h>
#endif
#ifdef HAVE_SYS_IOCTL_H
#include
<sys/ioctl.h>
#endif
#if defined(HAVE_NET_IF_H) && defined(HAVE_NET_PFVAR_H)
#include
<net/if.h>
#include
<net/pfvar.h>
...
...
src/lib/net/inaddr_st.h
View file @
6711a172
...
...
@@ -13,9 +13,21 @@
#ifndef TOR_INADDR_ST_H
#define TOR_INADDR_ST_H
#include
"orconfig.h"
#include
<stddef.h>
#ifdef HAVE_ARPA_INET_H
#include
<arpa/inet.h>
#endif
#ifdef HAVE_NETINET_IN_H
#include
<netinet/in.h>
#endif
#ifdef HAVE_NETINET_IN6_H
#include
<netinet/in6.h>
#endif
#ifdef HAVE_SYS_SOCKET_H
#include
<sys/socket.h>
#endif
#ifdef _WIN32
#include
<winsock2.h>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment