summaryrefslogtreecommitdiff
path: root/net-dialup/lrzsz/files/lrzsz-0.12.20-configure-clang16.patch
blob: bda489d11dd4d3c6f013ae02abf7e7e8c0950536 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
https://bugs.gentoo.org/898970
--- a/configure.in
+++ b/configure.in
@@ -186,7 +186,8 @@ AC_CACHE_VAL(lrzsz_cv_sys_ftime_ok,
 #include <sys/types.h>
 #include <sys/timeb.h>
 #include <stdio.h>
-main ()
+#include <stdlib.h>
+int main (void)
 {
   struct timeb s, slast;
   int c = 0;