Need opt_inet.h for #ifdef INET, INET6.

This commit is contained in:
riastradh 2020-03-05 07:46:36 +00:00
parent fab6f0bc30
commit 434e200c00
3 changed files with 15 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: altq_flowvalve.h,v 1.3 2006/10/12 19:59:08 peter Exp $ */
/* $NetBSD: altq_flowvalve.h,v 1.4 2020/03/05 07:46:36 riastradh Exp $ */
/* $KAME: altq_flowvalve.h,v 1.5 2002/04/03 05:38:50 kjc Exp $ */
/*
@ -32,6 +32,10 @@
#ifdef _KERNEL
#ifdef _KERNEL_OPT
#include "opt_inet.h"
#endif
/* fv_flow structure to define a unique address pair */
struct fv_flow {
int flow_af; /* address family */

View File

@ -1,4 +1,4 @@
/* $NetBSD: pfvar.h,v 1.22 2014/06/05 23:48:16 rmind Exp $ */
/* $NetBSD: pfvar.h,v 1.23 2020/03/05 07:46:36 riastradh Exp $ */
/* $OpenBSD: pfvar.h,v 1.254 2007/07/13 09:17:48 markus Exp $ */
/*
@ -34,6 +34,10 @@
#ifndef _NET_PFVAR_H_
#define _NET_PFVAR_H_
#ifdef _KERNEL_OPT
#include "opt_inet.h"
#endif
#include <sys/param.h>
#include <sys/types.h>
#include <sys/queue.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: slcompress.h,v 1.19 2016/12/12 15:58:45 maya Exp $ */
/* $NetBSD: slcompress.h,v 1.20 2020/03/05 07:46:36 riastradh Exp $ */
/* Id: slcompress.h,v 1.4 1994/09/21 06:50:08 paulus Exp */
/*
@ -42,6 +42,10 @@
#ifndef _NET_SLCOMPRESS_H_
#define _NET_SLCOMPRESS_H_
#ifdef _KERNEL_OPT
#include "opt_inet.h"
#endif
#define MAX_STATES 16 /* must be > 2 and < 256 */
#define MAX_HDR MLEN /* XXX 4bsd-ism: should really be 128 */