diff options
| author | Ian Dowse <iedowse@FreeBSD.org> | 2002-05-20 22:48:39 +0000 |
|---|---|---|
| committer | Ian Dowse <iedowse@FreeBSD.org> | 2002-05-20 22:48:39 +0000 |
| commit | d497e87891b76026a5f1585aee84426fa4a88a05 (patch) | |
| tree | cf5db9cc5201705d2c4fd5e4eca440ea039a8d79 | |
| parent | 551ea47838e9526b45d518ce0049a6a87676151a (diff) | |
Notes
| -rw-r--r-- | sys/net/if.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/net/if.h b/sys/net/if.h index d25d6256feda..de1b3703cc0d 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -37,7 +37,9 @@ #ifndef _NET_IF_H_ #define _NET_IF_H_ +#ifdef _KERNEL #include <sys/queue.h> +#endif /* * <net/if.h> does not depend on <sys/time.h> on most other systems. This @@ -57,6 +59,7 @@ struct ifnet; #define IF_NAMESIZE IFNAMSIZ #define IF_MAXUNIT 0x7fff /* ifp->if_unit is only 15 bits */ +#ifdef _KERNEL /* * Structure describing a `cloning' interface. */ @@ -74,6 +77,7 @@ struct if_clone { #define IF_CLONE_INITIALIZER(name, create, destroy, maxunit) \ { { 0 }, name, sizeof(name) - 1, maxunit, NULL, 0, create, destroy } +#endif /* * Structure used to query names of interface cloners. |
