diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2015-12-02 07:15:43 -0300 |
---|---|---|
committer | Stef Walter <stefw@redhat.com> | 2015-12-07 14:47:05 +0100 |
commit | d0b59f5b155369dd2b933c359c1f81e6199e2c3f (patch) | |
tree | 0cdf7e4cf469176d524b50a5fbd194eaacf1ee62 /p11-kit | |
parent | 981f5358988a4c7044aeddd5bd783c28b2665410 (diff) |
rpc-transport.c: include sys/select.h for fd_set
fd_set and friends, according to POSIX.1-2001, needs sys/select.h, so
include it otherwise the build fails for uClibc:
p11-kit/rpc-transport.c: In function ‘rpc_socket_read’:
p11-kit/rpc-transport.c:350:2: error: unknown type name ‘fd_set’
p11-kit/rpc-transport.c:416:4: warning: implicit declaration of function
‘FD_ZERO’ [-Wimplicit-function-declaration]
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
https://bugs.freedesktop.org/show_bug.cgi?id=93211
Diffstat (limited to 'p11-kit')
-rw-r--r-- | p11-kit/rpc-transport.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/p11-kit/rpc-transport.c b/p11-kit/rpc-transport.c index 7176b39..5251e11 100644 --- a/p11-kit/rpc-transport.c +++ b/p11-kit/rpc-transport.c @@ -55,6 +55,7 @@ #include <string.h> #ifdef OS_UNIX +#include <sys/select.h> #include <sys/socket.h> #include <sys/wait.h> #include <sys/un.h> |