diff options
author | bde <bde@FreeBSD.org> | 2003-11-14 21:02:10 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2003-11-14 21:02:10 +0000 |
commit | 53640e68942991cce3c7f1ab31ac16ec0de5c1d5 (patch) | |
tree | c67180dd8d8dea9a271e2b33abec90cf88dd81ff /sys/netatm | |
parent | 642972defa2038bb885a6c25715a48dcd41ed68d (diff) | |
download | FreeBSD-src-53640e68942991cce3c7f1ab31ac16ec0de5c1d5.zip FreeBSD-src-53640e68942991cce3c7f1ab31ac16ec0de5c1d5.tar.gz |
Include <sys/malloc.h> for the declaration of malloc(), etc. instead
of depending on namespace pollution 2 layers deep in <vm/uma.h>. Fixed
most nearby include messes (another like this, several the opposite of
this, and some formatting).
Diffstat (limited to 'sys/netatm')
-rw-r--r-- | sys/netatm/ipatm/ipatm_vcm.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/netatm/ipatm/ipatm_vcm.c b/sys/netatm/ipatm/ipatm_vcm.c index fe01936..490bbdc 100644 --- a/sys/netatm/ipatm/ipatm_vcm.c +++ b/sys/netatm/ipatm/ipatm_vcm.c @@ -34,16 +34,17 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> -#include <sys/types.h> #include <sys/systm.h> -#include <sys/errno.h> -#include <sys/time.h> +#include <sys/malloc.h> #include <sys/socket.h> #include <sys/socketvar.h> #include <sys/syslog.h> + #include <net/if.h> + #include <netinet/in.h> #include <netinet/in_var.h> + #include <netatm/port.h> #include <netatm/queue.h> #include <netatm/atm.h> @@ -59,6 +60,7 @@ __FBSDID("$FreeBSD$"); #include <netatm/ipatm/ipatm_var.h> #include <netatm/ipatm/ipatm_serv.h> +#include <vm/uma.h> Atm_attributes ipatm_aal5llc = { NULL, /* nif */ |