summaryrefslogtreecommitdiffstats
path: root/src/ipv6.c
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@NetBSD.org>2019-04-12 15:25:06 +0100
committerRoy Marples <roy@marples.name>2019-04-12 15:25:06 +0100
commitb25617a784c0eec39a2ddcfe3f354ef9b535124e (patch)
tree7d4657b510230733d8ce72d54178faab7d0621dd /src/ipv6.c
parentda213b5cfac784c275aad916548db0a831e68800 (diff)
downloaddhcpcd-b25617a784c0eec39a2ddcfe3f354ef9b535124e.tar.xz
sun: Compile once more
Diffstat (limited to 'src/ipv6.c')
-rw-r--r--src/ipv6.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ipv6.c b/src/ipv6.c
index d7c73c22..ffa44f8c 100644
--- a/src/ipv6.c
+++ b/src/ipv6.c
@@ -624,6 +624,10 @@ ipv6_addaddr1(struct ipv6_addr *ia, const struct timespec *now)
uint32_t pltime, vltime;
bool vltime_was_zero;
__printflike(1, 2) void (*logfunc)(const char *, ...);
+#ifdef __sun
+ struct ipv6_state *state;
+ struct ipv6_addr *ia2;
+#endif
/* Remember the interface of the address. */
ifp = ia->iface;