commit:     ffa477cd78c17582f9f12033934ac110df493932
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  7 10:56:58 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Tue Oct  7 10:58:35 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffa477cd

net-analyzer/tcptrack: fix build on musl

Closes: https://bugs.gentoo.org/712866
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 net-analyzer/tcptrack/tcptrack-1.4.2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-analyzer/tcptrack/tcptrack-1.4.2.ebuild 
b/net-analyzer/tcptrack/tcptrack-1.4.2.ebuild
index 30fbb10604a6..d0051c9b6633 100644
--- a/net-analyzer/tcptrack/tcptrack-1.4.2.ebuild
+++ b/net-analyzer/tcptrack/tcptrack-1.4.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -28,6 +28,7 @@ src_prepare() {
        default
 
        sed -i src/Makefile.am -e 's| -Werror||g' || die
+       sed -i src/TCPHeader.h -e '1i#include <sys/types.h>' || die # for musl
 
        mv configure.{in,ac} || die
 

Reply via email to