mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
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.
10 lines
236 B
Diff
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
|