32313a3411
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)
18 lines
249 B
C
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 */
|