[PATCH] tools/watchgnupg: Include <sys/select.h> for fd_set

Fabian Mewes architekt at coding4coffee.org
Sun Nov 30 16:35:29 CET 2014


This is necessary to compile GnuPG with musl libc

Signed-off-by: Fabian Mewes <architekt at coding4coffee.org>
---
 tools/watchgnupg.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/watchgnupg.c b/tools/watchgnupg.c
index 4f4d54d..c2384c8 100644
--- a/tools/watchgnupg.c
+++ b/tools/watchgnupg.c
@@ -29,6 +29,7 @@
 #include <assert.h>
 #include <unistd.h>
 #include <sys/socket.h>
+#include <sys/select.h>
 #include <sys/un.h>
 #include <netinet/in.h>
 #include <arpa/inet.h>
-- 
2.1.3




More information about the Gnupg-devel mailing list