srs.c uses functions like signal and define like SIGPIPE, which come from the signal.h header from the C standard library.
While for some reason this didn't create compilation issues in Replicant 6, compiling libsamsung-ril with Guix[1] fails because of that. References: ----------- [1]At the time of writing, the libsamsung-ril is not yet in Guix, however an unofficial package does exist, and is being worked on[2]. If srs.c is patched to include signal.h, that unofficial libsamsung-ril packages does compile successfully. [2]https://git.replicant.us/contrib/GNUtoo/guix/log/?h=libsamsung-ril Signed-off-by: Denis 'GNUtoo' Carikli <[email protected]> --- srs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/srs.c b/srs.c index 1f6c320..505210b 100644 --- a/srs.c +++ b/srs.c @@ -19,6 +19,7 @@ #include <errno.h> #include <fcntl.h> +#include <signal.h> #include <stdlib.h> #include <sys/eventfd.h> -- 2.28.0 _______________________________________________ Replicant mailing list [email protected] https://lists.osuosl.org/mailman/listinfo/replicant
