summaryrefslogtreecommitdiffstats
path: root/ksysguard
diff options
context:
space:
mode:
authorMatías Fonzo <selk@dragora.org>2020-01-25 18:55:58 -0300
committerMatías Fonzo <selk@dragora.org>2020-01-25 18:55:58 -0300
commit67fe6d2e739013d92158f2339aaa928d50c02ef7 (patch)
tree3e09d718999b8291ce5d865a6178a0569054c5c0 /ksysguard
parentbd4492dc54e30fa5a2a97991e9b166aa17f28972 (diff)
downloadtdebase-67fe6d2e739013d92158f2339aaa928d50c02ef7.tar.gz
tdebase-67fe6d2e739013d92158f2339aaa928d50c02ef7.zip
Added missing header in ksysguard/ksysguardd/Linux/netstat.c
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 <selk@dragora.org>
Diffstat (limited to 'ksysguard')
-rw-r--r--ksysguard/ksysguardd/Linux/netstat.c2
1 files changed, 2 insertions, 0 deletions
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 <config.h>
+#include <sys/types.h>
+
#include <arpa/inet.h>
#include <netdb.h>
#include <stdio.h>