Add missing include, fixes build with clang 15

This commit is contained in:
jca 2023-01-11 17:49:55 +00:00
parent d0d5f73e33
commit af9eabc9f4
2 changed files with 8 additions and 4 deletions

View File

@ -2,7 +2,7 @@ COMMENT= help benchmark random read performance
DISTNAME= randread-0.2 DISTNAME= randread-0.2
CATEGORIES= benchmarks CATEGORIES= benchmarks
REVISION= 1 REVISION= 2
HOMEPAGE= http://randread.sourceforge.net/ HOMEPAGE= http://randread.sourceforge.net/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=randread/} MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=randread/}

View File

@ -1,10 +1,14 @@
--- filelist.c.orig Wed Sep 11 07:15:12 2002 Index: filelist.c
+++ filelist.c Tue Jul 1 16:37:22 2003 --- filelist.c.orig
@@ -7,6 +7,7 @@ +++ filelist.c
@@ -7,8 +7,10 @@
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
+#include <limits.h> +#include <limits.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
+#include <string.h>
#include <strings.h> #include <strings.h>
#include <unistd.h>