make agr headers include lock.h and queue.h by themselves.

This commit is contained in:
yamt 2006-10-29 22:14:14 +00:00
parent 7cca893a23
commit d566a2d50f
3 changed files with 10 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: ieee8023ad_lacp_impl.h,v 1.3 2005/12/10 23:21:39 elad Exp $ */
/* $NetBSD: ieee8023ad_lacp_impl.h,v 1.4 2006/10/29 22:14:14 yamt Exp $ */
/*-
* Copyright (c)2005 YAMAMOTO Takashi,
@ -35,6 +35,8 @@
* implementation details.
*/
#include <sys/queue.h>
#define LACP_TIMER_CURRENT_WHILE 0
#define LACP_TIMER_PERIODIC 1
#define LACP_TIMER_WAIT_WHILE 2

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_agrsubr.h,v 1.2 2005/12/10 23:21:39 elad Exp $ */
/* $NetBSD: if_agrsubr.h,v 1.3 2006/10/29 22:14:14 yamt Exp $ */
/*-
* Copyright (c)2005 YAMAMOTO Takashi,
@ -29,6 +29,8 @@
#ifndef _NET_AGR_IF_AGRSUBR_H_
#define _NET_AGR_IF_AGRSUBR_H_
#include <sys/queue.h>
struct agr_mc_entry;
struct agr_multiaddrs {

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_agrvar_impl.h,v 1.3 2006/07/08 05:57:41 yamt Exp $ */
/* $NetBSD: if_agrvar_impl.h,v 1.4 2006/10/29 22:14:14 yamt Exp $ */
/*-
* Copyright (c)2005 YAMAMOTO Takashi,
@ -33,6 +33,9 @@
* implementaion details for agr(4) driver. (contrast to if_agrvar.h)
*/
#include <sys/lock.h>
#include <sys/queue.h>
struct agr_port;
struct agr_softc;