mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Forward-declare `struct inpcb' so that including this file doesn't cause
lots of warnings. Should be in 2.2. Previous version shouldn't have been in 2.2.
This commit is contained in:
parent
679f1a2242
commit
ca5d5e7397
1 changed files with 2 additions and 1 deletions
|
|
@ -31,7 +31,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)ip_var.h 8.2 (Berkeley) 1/9/95
|
||||
* $Id: ip_var.h,v 1.24 1996/10/25 17:57:46 fenner Exp $
|
||||
* $Id: ip_var.h,v 1.25 1996/11/11 04:56:21 fenner Exp $
|
||||
*/
|
||||
|
||||
#ifndef _NETINET_IP_VAR_H_
|
||||
|
|
@ -156,6 +156,7 @@ struct ipstat {
|
|||
#define IP_ROUTETOIF SO_DONTROUTE /* bypass routing tables */
|
||||
#define IP_ALLOWBROADCAST SO_BROADCAST /* can send broadcast packets */
|
||||
|
||||
struct inpcb;
|
||||
struct route;
|
||||
|
||||
extern struct ipstat ipstat;
|
||||
|
|
|
|||
Loading…
Reference in a new issue