gentoo-ebuilds/net-dialup/lrzsz/files/lrzsz-0.12.20-configure-clang16.patch
Sam James d7f6f2d938
net-dialup/lrzsz: fix configure w/ clang 16
Closes: https://bugs.gentoo.org/898970
Signed-off-by: Sam James <sam@gentoo.org>
2023-03-10 13:55:12 +00:00

13 lines
283 B
Diff

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;