diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-08-19 22:19:09 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2003-08-19 22:19:09 +0000 |
commit | f0cf3adcad5d0247891eddb49c1e8ab30f13e513 (patch) | |
tree | b38fd2a0d84ace93f340f64d6f2676d91900add3 /usr.sbin/mopd/common/os.h | |
parent | 97545fe4089995279b1270673dd8950368a985e5 (diff) |
rewrite SIOCGIFCONF into getifaddrs. deraadt ok
Diffstat (limited to 'usr.sbin/mopd/common/os.h')
-rw-r--r-- | usr.sbin/mopd/common/os.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/mopd/common/os.h b/usr.sbin/mopd/common/os.h index feddd40365c..fa0e8e58938 100644 --- a/usr.sbin/mopd/common/os.h +++ b/usr.sbin/mopd/common/os.h @@ -1,4 +1,4 @@ -/* $OpenBSD: os.h,v 1.5 2003/06/02 21:38:39 maja Exp $ */ +/* $OpenBSD: os.h,v 1.6 2003/08/19 22:19:08 itojun Exp $ */ /* * Copyright (c) 1994-95 Mats O Jansson. All rights reserved. @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $OpenBSD: os.h,v 1.5 2003/06/02 21:38:39 maja Exp $ + * $OpenBSD: os.h,v 1.6 2003/08/19 22:19:08 itojun Exp $ * */ @@ -48,6 +48,7 @@ #include <fcntl.h> #include <string.h> #include <unistd.h> +#include <ifaddrs.h> #define DEV_NEW_CONF |