diff options
author | Matías Fonzo <selk@dragora.org> | 2020-01-22 16:58:53 -0300 |
---|---|---|
committer | Matías Fonzo <selk@dragora.org> | 2020-01-22 20:22:27 -0300 |
commit | 8d74c9c44f75bb427808da876650a074b1319467 (patch) | |
tree | 6745e439b1897eab407c7aa49b47ee8a41f62738 /tdeioslave/ftp | |
parent | 8ae17a5d9d77d489a2d16529f16680d31374537e (diff) | |
download | tdelibs-8d74c9c44f75bb427808da876650a074b1319467.tar.gz tdelibs-8d74c9c44f75bb427808da876650a074b1319467.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 <selk@dragora.org>
Diffstat (limited to 'tdeioslave/ftp')
0 files changed, 0 insertions, 0 deletions