summaryrefslogtreecommitdiffstats
path: root/c/src/libnetworking/pppd/chap.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/libnetworking/pppd/chap.c')
-rw-r--r--c/src/libnetworking/pppd/chap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/c/src/libnetworking/pppd/chap.c b/c/src/libnetworking/pppd/chap.c
index 5609ec8bae..c1a17e5ab3 100644
--- a/c/src/libnetworking/pppd/chap.c
+++ b/c/src/libnetworking/pppd/chap.c
@@ -41,6 +41,7 @@
#include <stdio.h>
#include <string.h>
+#include <stdlib.h> /* drand48, srand48 */
#include <sys/types.h>
#include <sys/time.h>
@@ -115,9 +116,6 @@ static void ChapSendChallenge __P((chap_state *));
static void ChapSendResponse __P((chap_state *));
static void ChapGenChallenge __P((chap_state *));
-extern double drand48 __P((void));
-extern void srand48 __P((long));
-
/*
* ChapInit - Initialize a CHAP unit.
*/