mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix MINIMAL build
Pre-declare struct ucred, to fix build issues on the MINIMAL config:
In file included from /usr/src/sys/netpfil/pf/pfsync_nv.c:40:
/usr/src/sys/netinet6/ip6_var.h:384:31: error: declaration of 'struct ucred' will not be visible outside of this function [-Werror,-Wvisibility]
struct ip6_pktopts *, struct ucred *, int);
^
/usr/src/sys/netinet6/ip6_var.h:408:28: error: declaration of 'struct ucred' will not be visible outside of this function [-Werror,-Wvisibility]
struct inpcb *, struct ucred *, int, struct in6_addr *, int *);
^
2 errors generated.
This commit is contained in:
parent
208fcb55e3
commit
b8039bf5b3
1 changed files with 1 additions and 0 deletions
|
|
@ -346,6 +346,7 @@ extern struct pr_usrreqs rip6_usrreqs;
|
|||
struct sockopt;
|
||||
|
||||
struct inpcb;
|
||||
struct ucred;
|
||||
|
||||
int icmp6_ctloutput(struct socket *, struct sockopt *sopt);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue