NetBSD/sys/altq/altqconf.h
jdolecek 32313a3411 pull only "opt_altq_enabled.h" in if_altq.h, and include altqconf.h
explicitly in single file which implicitly needed it (altq_conf.c)

this avoids pulling in implicit dependency on <sys/conf.h> to every
file including <net/if.h> (which includes <altq/if_altq.h> to get altq
related structures)
2002-09-22 20:09:15 +00:00

18 lines
249 B
C

/* $NetBSD: altqconf.h,v 1.4 2002/09/22 20:09:15 jdolecek Exp $ */
#ifdef _KERNEL
#if defined(_KERNEL_OPT)
#include "opt_altq_enabled.h"
#endif
#include <sys/conf.h>
#ifdef ALTQ
#define NALTQ 1
#else
#define NALTQ 0
#endif
#endif /* _KERNEL */