diff options
author | info@mobile-stream.com <info@mobile-stream.com> | 2018-11-28 07:01:20 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2018-11-30 12:54:12 +0000 |
commit | 176cd41390663c0d842059b80e90dc3ef11e52e9 (patch) | |
tree | 9b6e4638adf491bd049bb258b0577c4d40883e99 /community/gammu/include-sys-select-h.patch | |
parent | f068acfb28c773361e7353e0a0d64cc3b8772a9f (diff) |
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.
Diffstat (limited to 'community/gammu/include-sys-select-h.patch')
-rw-r--r-- | community/gammu/include-sys-select-h.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/community/gammu/include-sys-select-h.patch b/community/gammu/include-sys-select-h.patch new file mode 100644 index 00000000000..a7d04feee3a --- /dev/null +++ b/community/gammu/include-sys-select-h.patch @@ -0,0 +1,10 @@ +--- 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 |