summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@src.gnome.org>2019-05-10 15:47:33 +0200
committerDaiki Ueno <dueno@src.gnome.org>2019-05-10 15:47:33 +0200
commit7a8b7d2ebfbb831840e6d58dbb1109f4c31d6ba4 (patch)
tree4d56477571cb98f7980a961ad42991b9247f7cb1
parente6822428ebfe3b61bfa5df7e04a5e1af7f2048ca (diff)
downloadgnome-keyring-7a8b7d2ebfbb831840e6d58dbb1109f4c31d6ba4.tar.gz
rpc-layer: fix build with musl-libc
The recent POSIX suggests to include <sys/select.h> for select(). Reported by Anthony G. Basile.
-rw-r--r--pkcs11/rpc-layer/gkm-rpc-daemon-standalone.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkcs11/rpc-layer/gkm-rpc-daemon-standalone.c b/pkcs11/rpc-layer/gkm-rpc-daemon-standalone.c
index 5024e1e1..b3fb6707 100644
--- a/pkcs11/rpc-layer/gkm-rpc-daemon-standalone.c
+++ b/pkcs11/rpc-layer/gkm-rpc-daemon-standalone.c
@@ -34,6 +34,7 @@
#include <dlfcn.h>
#include <pthread.h>
+#include <sys/select.h>
#define SOCKET_PATH "/tmp/gkm-rpc-daemon.sock"