From f23894cb5613ef41465106a4a029f60a97df12d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=ADas=20Fonzo?= Date: Sat, 25 Jan 2020 18:55:58 -0300 Subject: Added missing header in ksysguard/ksysguardd/Linux/netstat.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without the header, the build log: [ 96%] Building C object ksysguard/ksysguardd/Linux/CMakeFiles/ksysguardd-static.dir/netstat.c.o /usr/src/qi/build/tdebase-trinity-14.0.7/ksysguard/ksysguardd/Linux/netstat.c: In function ‘updateNetStatTcpUdpRaw’: /usr/src/qi/build/tdebase-trinity-14.0.7/ksysguard/ksysguardd/Linux/netstat.c:269:2: error: unknown type name ‘uint’; did you mean ‘int’? 269 | uint local_addr, local_port; | ^~~~ | int /usr/src/qi/build/tdebase-trinity-14.0.7/ksysguard/ksysguardd/Linux/netstat.c:270:2: error: unknown type name ‘uint’; did you mean ‘int’? 270 | uint remote_addr, remote_port; | ^~~~ | int /usr/src/qi/build/tdebase-trinity-14.0.7/ksysguard/ksysguardd/Linux/netstat.c:272:2: error: unknown type name ‘uint’; did you mean ‘int’? 272 | uint state; | ^~~~ | int make[2]: *** [ksysguard/ksysguardd/Linux/CMakeFiles/ksysguardd-static.dir/build.make:180: ksysguard/ksysguardd/Linux/CMakeFiles/ksysguardd-static.dir/netstat.c.o] Error 1 make[2]: Leaving directory '/usr/src/qi/build/tdebase-trinity-14.0.7/BUILD' make[1]: *** [CMakeFiles/Makefile2:24044: ksysguard/ksysguardd/Linux/CMakeFiles/ksysguardd-static.dir/all] Error 2 make[1]: Leaving directory '/usr/src/qi/build/tdebase-trinity-14.0.7/BUILD' make: *** [Makefile:130: all] Error 2 Signed-off-by: Matías Fonzo (cherry picked from commit 67fe6d2e739013d92158f2339aaa928d50c02ef7) --- ksysguard/ksysguardd/Linux/netstat.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ksysguard') diff --git a/ksysguard/ksysguardd/Linux/netstat.c b/ksysguard/ksysguardd/Linux/netstat.c index c8570f617..c64b0ffd1 100644 --- a/ksysguard/ksysguardd/Linux/netstat.c +++ b/ksysguard/ksysguardd/Linux/netstat.c @@ -20,6 +20,8 @@ #include +#include + #include #include #include -- cgit v1.2.1