summaryrefslogtreecommitdiff
path: root/usr.sbin/rtsold/dump.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-02-25 10:32:22 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-02-25 10:32:22 +0000
commitba7767ec9c45d31f14b0ecaf5c21fd86c7046f24 (patch)
tree947bb03960ab35025b62bad150bb13a6f19930f4 /usr.sbin/rtsold/dump.c
parent18cf87ed57039c403152d9fb3395ddd293b52ecb (diff)
use getifaddrs, not SIOCGIFCONF for LP64 align issue. (sync with kame).
Diffstat (limited to 'usr.sbin/rtsold/dump.c')
-rw-r--r--usr.sbin/rtsold/dump.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/rtsold/dump.c b/usr.sbin/rtsold/dump.c
index ad692bff600..29d5a4111b2 100644
--- a/usr.sbin/rtsold/dump.c
+++ b/usr.sbin/rtsold/dump.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dump.c,v 1.2 1999/12/09 15:10:49 itojun Exp $ */
+/* $OpenBSD: dump.c,v 1.3 2000/02/25 10:32:21 itojun Exp $ */
/*
* Copyright (C) 1999 WIDE Project.
@@ -31,7 +31,9 @@
#include <sys/types.h>
#include <sys/time.h>
+#include <sys/socket.h>
+#include <net/if.h>
#include <netinet/in.h>
#include <netinet/icmp6.h>