summaryrefslogtreecommitdiffstats
path: root/sys/dev/mii
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2001-02-09 00:16:41 +0000
committerjhb <jhb@FreeBSD.org>2001-02-09 00:16:41 +0000
commitf565cff4f149afb29f553dce0077233e2f021145 (patch)
tree8374f4b10dcff38a942e74759a0ee22423603832 /sys/dev/mii
parent3475ac94082cb466dbe048767521e8b7453101f0 (diff)
downloadFreeBSD-src-f565cff4f149afb29f553dce0077233e2f021145.zip
FreeBSD-src-f565cff4f149afb29f553dce0077233e2f021145.tar.gz
Add includes of sys/malloc.h so this actually compiles.
Pointy-hat to: asmodai
Diffstat (limited to 'sys/dev/mii')
-rw-r--r--sys/dev/mii/mlphy.c2
-rw-r--r--sys/dev/mii/tlphy.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/mii/mlphy.c b/sys/dev/mii/mlphy.c
index b8bdb37..decb391 100644
--- a/sys/dev/mii/mlphy.c
+++ b/sys/dev/mii/mlphy.c
@@ -53,7 +53,7 @@
#include <sys/socket.h>
#include <sys/module.h>
#include <sys/bus.h>
-
+#include <sys/malloc.h>
#include <net/if.h>
#include <net/if_media.h>
diff --git a/sys/dev/mii/tlphy.c b/sys/dev/mii/tlphy.c
index 3b6018c..e42db47 100644
--- a/sys/dev/mii/tlphy.c
+++ b/sys/dev/mii/tlphy.c
@@ -77,6 +77,7 @@
#include <sys/errno.h>
#include <sys/module.h>
#include <sys/bus.h>
+#include <sys/malloc.h>
#include <machine/bus.h>
OpenPOWER on IntegriCloud