diff options
author | Matías Fonzo <[email protected]> | 2020-01-22 16:58:53 -0300 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-01-23 00:34:19 +0100 |
commit | ff609e7acaa69902b443b279be05b45e9933123c (patch) | |
tree | 7b8acbf87e7da9813e3832b139b868808e20be58 /tdecore/tdehw/networkbackends | |
parent | 53d42e24728cd7ef3949fcb0bd62ed05f254c588 (diff) | |
download | tdelibs-ff609e7acaa69902b443b279be05b45e9933123c.tar.gz tdelibs-ff609e7acaa69902b443b279be05b45e9933123c.zip |
Added missing headers for tdeinit/start_tdeinit.c
Error found when compiling against GCC9+Musl:
Scanning dependencies of target start_tdeinit
[ 51%] Building C object tdeinit/CMakeFiles/start_tdeinit.dir/start_tdeinit.c.o
/usr/src/qi/build/tdelibs-trinity-14.0.7/tdeinit/start_tdeinit.c: In function ‘set_protection’:
/usr/src/qi/build/tdelibs-trinity-14.0.7/tdeinit/start_tdeinit.c:47:16: error: storage size of ‘st’ isn’t known
47 | struct stat st;
| ^~
/usr/src/qi/build/tdelibs-trinity-14.0.7/tdeinit/start_tdeinit.c:51:9: warning: implicit declaration of function ‘lstat’ [-Wimplicit-function-declaration]
51 | if ( lstat (buf, &st) == 0) {
| ^~~~~
make[2]: *** [tdeinit/CMakeFiles/start_tdeinit.dir/build.make:63: tdeinit/CMakeFiles/start_tdeinit.dir/start_tdeinit.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:10421: tdeinit/CMakeFiles/start_tdeinit.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Signed-off-by: Matías Fonzo <[email protected]>
(cherry picked from commit 8d74c9c44f75bb427808da876650a074b1319467)
Diffstat (limited to 'tdecore/tdehw/networkbackends')
0 files changed, 0 insertions, 0 deletions