diff options
author | Amadeusz Sławiński <amade@asmblr.net> | 2019-09-26 15:29:19 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2019-09-26 15:29:19 -0400 |
commit | fc61ce53bf9e7a099b6356dd88122f60f9a21eda (patch) | |
tree | a05ecd963b212ce512b484558a5f937ec90d9120 /src/rpcb_svc_com.c | |
parent | 9a40fb4fb35506f6f1423318ed736caf5e490fb7 (diff) | |
download | rpcbind-fc61ce53bf9e7a099b6356dd88122f60f9a21eda.tar.gz |
rpcbind: Correct some of includes
Musl based systems are more pedantic than glibc ones about where we
include files from. Correct some headers to include proper files.
In file included from src/rpcb_svc_com.c:45:0:
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
#warning redirecting incorrect #include <sys/poll.h> to <poll.h>
^~~~~~~
In file included from src/rpcbind.c:45:0:
/usr/include/sys/errno.h:1:2: warning: #warning redirecting incorrect #include <sys/errno.h> to <errno.h> [-Wcpp]
#warning redirecting incorrect #include <sys/errno.h> to <errno.h>
^~~~~~~
In file included from src/rpcbind.c:49:0:
/usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include <sys/signal.h> to <signal.h> [-Wcpp]
#warning redirecting incorrect #include <sys/signal.h> to <signal.h>
^~~~~~~
In file included from src/util.c:48:0:
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
#warning redirecting incorrect #include <sys/poll.h> to <poll.h>
^~~~~~~
Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'src/rpcb_svc_com.c')
-rw-r--r-- | src/rpcb_svc_com.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcb_svc_com.c b/src/rpcb_svc_com.c index 9c1c3af..1743dad 100644 --- a/src/rpcb_svc_com.c +++ b/src/rpcb_svc_com.c @@ -42,7 +42,7 @@ #include <sys/types.h> #include <sys/stat.h> #include <sys/param.h> -#include <sys/poll.h> +#include <poll.h> #include <bits/poll.h> #include <sys/socket.h> #include <rpc/rpc.h> |