1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/gammu/include-sys-select-h.patch
info@mobile-stream.com 176cd41390 community/gammu: fix build
Compilation fails in libgammu/device/devfunc.c:socket_read() with a bunch
of select()-related errors (probably due to some change in the include
chain since the last rebuild). Fix by including <sys/select.h> explicitly.

Test still passes on x86_64 and mipsel at least.
2018-11-30 12:54:12 +00:00

10 lines
236 B
Diff

--- a/libgammu/device/devfunc.c
+++ b/libgammu/device/devfunc.c
@@ -22,6 +22,7 @@
# include <errno.h>
# include <ctype.h>
# include <signal.h>
+# include <sys/select.h>
# include <sys/socket.h>
# include <sys/stat.h>
#endif