diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-08-07 05:01:27 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-08-07 05:01:29 +0200 |
commit | 77155778b245f600cbf7b43445cb51282d8a2664 (patch) | |
tree | ae3048f131e4a69e893ffaf24cdc59146888be61 /srs.c | |
parent | ad04bd6011483f1072f0ac209184f55bdb6d36e2 (diff) | |
download | hardware_replicant_libsamsung-ril-77155778b245f600cbf7b43445cb51282d8a2664.tar.gz hardware_replicant_libsamsung-ril-77155778b245f600cbf7b43445cb51282d8a2664.tar.bz2 hardware_replicant_libsamsung-ril-77155778b245f600cbf7b43445cb51282d8a2664.zip |
srs: include signal.h
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 <GNUtoo@cyberdimension.org>
Diffstat (limited to 'srs.c')
-rw-r--r-- | srs.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -19,6 +19,7 @@ #include <errno.h> #include <fcntl.h> +#include <signal.h> #include <stdlib.h> #include <sys/eventfd.h> |