diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-11-01 03:35:44 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2007-11-01 03:35:44 +0000 |
commit | 5610b207370497cadc4cb1fb897509169a7758c5 (patch) | |
tree | 3841b1adbcc9ff522380652f3d59773314e4c65a /sys/net | |
parent | f89ade9afab0c59352b9519d8296ee1fdf0e9fd2 (diff) |
correct fix
Diffstat (limited to 'sys/net')
-rw-r--r-- | sys/net/if_spppsubr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index 3428790e553..10dcd7215f9 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_spppsubr.c,v 1.60 2007/11/01 02:47:20 deraadt Exp $ */ +/* $OpenBSD: if_spppsubr.c,v 1.61 2007/11/01 03:35:43 deraadt Exp $ */ /* * Synchronous PPP/Cisco link level subroutines. * Keepalive protocol implemented in both Cisco and PPP modes. @@ -43,6 +43,7 @@ #include <sys/kernel.h> #include <sys/sockio.h> #include <sys/socket.h> +#include <sys/proc.h> #include <sys/syslog.h> #include <sys/malloc.h> #include <sys/mbuf.h> @@ -4858,7 +4859,6 @@ HIDE int sppp_params(struct sppp *sp, u_long cmd, void *data) { struct ifreq *ifr = (struct ifreq *)data; - extern struct proc *curproc; struct spppreq spr; if (copyin((caddr_t)ifr->ifr_data, &spr, sizeof spr) != 0) |