summaryrefslogtreecommitdiffstats
path: root/fortune/fortune/fortune.c
diff options
context:
space:
mode:
Diffstat (limited to 'fortune/fortune/fortune.c')
-rw-r--r--fortune/fortune/fortune.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fortune/fortune/fortune.c b/fortune/fortune/fortune.c
index af138220..4475102c 100644
--- a/fortune/fortune/fortune.c
+++ b/fortune/fortune/fortune.c
@@ -57,6 +57,7 @@ static char sccsid[] = "@(#)fortune.c 5.13 (Berkeley) 4/8/91";
# include <sys/dir.h>
# include <stdio.h>
# include <assert.h>
+# include <stdlib.h>
# include "strfile.h"
# include "pathnames.h"
@@ -925,7 +926,6 @@ get_fort()
{
register FILEDESC *fp;
register int choice;
- long random();
if (File_list->next == NULL || File_list->percent == NO_PROB)
fp = File_list;