summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pppd/chap.c
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2014-01-21 22:56:31 +0000
committerjsg <jsg@openbsd.org>2014-01-21 22:56:31 +0000
commit7adc68f23fa5e01ced009400186d58681c81afda (patch)
treeaa318c2ce081c806b22d9c10a5ad7c959bad6e50 /usr.sbin/pppd/chap.c
parentpaste in the fs.posix.setuid blurb from chown(1), as it's (diff)
downloadwireguard-openbsd-7adc68f23fa5e01ced009400186d58681c81afda.tar.xz
wireguard-openbsd-7adc68f23fa5e01ced009400186d58681c81afda.zip
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>