diff options
| author | James Carlson <james.d.carlson@sun.com> | 2009-03-19 14:29:36 -0400 |
|---|---|---|
| committer | James Carlson <james.d.carlson@sun.com> | 2009-03-19 14:29:36 -0400 |
| commit | 82a2fc4751cef28c0bdc327d02012bf8796083b9 (patch) | |
| tree | 515d1b30c41d68ceec6aee3028a9b99af1b4bfb8 /usr/src/cmd/dlmgmtd | |
| parent | 9c57abc8d70cb139020be846baec0a9c4d9a73cd (diff) | |
| download | illumos-joyent-82a2fc4751cef28c0bdc327d02012bf8796083b9.tar.gz | |
6795822 dld.h and mac.h pollute user space code with kernel symbols
Diffstat (limited to 'usr/src/cmd/dlmgmtd')
| -rw-r--r-- | usr/src/cmd/dlmgmtd/dlmgmt_impl.h | 3 | ||||
| -rw-r--r-- | usr/src/cmd/dlmgmtd/dlmgmt_main.c | 1 | ||||
| -rw-r--r-- | usr/src/cmd/dlmgmtd/dlmgmt_util.c | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/usr/src/cmd/dlmgmtd/dlmgmt_impl.h b/usr/src/cmd/dlmgmtd/dlmgmt_impl.h index 4bd8f2d2cb..237910ede6 100644 --- a/usr/src/cmd/dlmgmtd/dlmgmt_impl.h +++ b/usr/src/cmd/dlmgmtd/dlmgmt_impl.h @@ -20,7 +20,7 @@ */ /* - * Copyright 2008 Sun Microsystems, Inc. All rights reserved. + * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -37,6 +37,7 @@ extern "C" { #include <door.h> #include <libdllink.h> +#include <sys/avl.h> /* * datalink attribute structure diff --git a/usr/src/cmd/dlmgmtd/dlmgmt_main.c b/usr/src/cmd/dlmgmtd/dlmgmt_main.c index 73f6745f87..5a27fdc2c2 100644 --- a/usr/src/cmd/dlmgmtd/dlmgmt_main.c +++ b/usr/src/cmd/dlmgmtd/dlmgmt_main.c @@ -48,6 +48,7 @@ #include <strings.h> #include <syslog.h> #include <sys/dld.h> +#include <sys/dld_ioc.h> #include <sys/param.h> #include <sys/stat.h> #include <unistd.h> diff --git a/usr/src/cmd/dlmgmtd/dlmgmt_util.c b/usr/src/cmd/dlmgmtd/dlmgmt_util.c index 130a4ef9c5..87d2ed394f 100644 --- a/usr/src/cmd/dlmgmtd/dlmgmt_util.c +++ b/usr/src/cmd/dlmgmtd/dlmgmt_util.c @@ -36,6 +36,7 @@ #include <strings.h> #include <syslog.h> #include <stdarg.h> +#include <errno.h> #include <libdlpi.h> #include "dlmgmt_impl.h" |
