Files
MSYS2-packages/iperf/0001-build-fix.patch
Christoph Reiter 6fd108ff66 iperf: Update to 2.2.0
* backport build fix
* uncomment "make check", passes here
2024-06-02 18:46:14 +02:00

12 lines
255 B
Diff

--- a/src/Server.cpp
+++ b/src/Server.cpp
@@ -93,7 +93,7 @@
}
}
#endif
-#if HAVE_DECL_MSG_CTRUNC
+#if (HAVE_DECL_SO_TIMESTAMP) && (HAVE_DECL_MSG_CTRUNC)
ctrunc_warn_enable = true;
#endif
// Enable kernel level timestamping if available