From 798500dfd84901b8d5d22e9a99c47e96fe8b9ec5 Mon Sep 17 00:00:00 2001 From: ru Date: Sun, 4 Dec 2005 10:06:06 +0000 Subject: Fix -Wundef from compiling the amd64 LINT. --- sys/net/if_spppsubr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/net/if_spppsubr.c') diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index 2db4884..bb01162 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -4955,7 +4955,7 @@ sppp_set_ip_addr(struct sppp *sp, u_long src) if (ifa && si) { int error; -#if __NetBSD_Version__ >= 103080000 +#if defined(__NetBSD__) && __NetBSD_Version__ >= 103080000 struct sockaddr_in new_sin = *si; new_sin.sin_addr.s_addr = htonl(src); -- cgit v1.1