summaryrefslogtreecommitdiff
path: root/usr.sbin/pppd/chap.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2014-01-21 22:56:32 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2014-01-21 22:56:32 +0000
commit910a07314ac4d86b6e92fb4a530ba4a45e791d43 (patch)
tree206d981542d62a11283d32b6d1968529d50f2624 /usr.sbin/pppd/chap.c
parenta2b1a450d06db0d429e04592dccf106b4622ee74 (diff)
include stdlib.h for drand48()
Diffstat (limited to 'usr.sbin/pppd/chap.c')
-rw-r--r--usr.sbin/pppd/chap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pppd/chap.c b/usr.sbin/pppd/chap.c
index 3f37711fb44..4937dcb9f3d 100644
--- a/usr.sbin/pppd/chap.c
+++ b/usr.sbin/pppd/chap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: chap.c,v 1.14 2013/09/29 16:24:21 deraadt Exp $ */
+/* $OpenBSD: chap.c,v 1.15 2014/01/21 22:56:31 jsg Exp $ */
/*
* chap.c - Challenge Handshake Authentication Protocol.
@@ -56,6 +56,7 @@
*/
#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/time.h>