summaryrefslogblamecommitdiff
path: root/system/mandoc/configure.patch
blob: ba26b53d575b0a6ad448dedfb614865e543a737f (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                           
--- mandoc-1.14.5/test-recvmsg.c	2019-03-10 04:56:43.000000000 -0500
+++ mandoc-1.14.5/test-recvmsg.c	2020-06-04 20:08:33.420299034 -0500
@@ -4,5 +4,6 @@
 int
 main(void)
 {
-	return recvmsg(-1, NULL, 0) != -1;
+	struct msghdr buf;
+	return recvmsg(-1, &buf, 0) != -1;
 }