Forked from
xorg / xserver
-
Jeremy Huddleston Sequoia authored
This avoids warnings from system headers when building with debian bullseye: In file included from ../dist-unpack/xserver-21.1.99.1/os/rpcauth.c:47: /usr/include/tirpc/rpc/rpc.h:83:12: error: redundant redeclaration of ‘bindresvport’ [-Werror=redundant-decls] 83 | extern int bindresvport(int, struct sockaddr_in *); | ^~~~~~~~~~~~ In file included from /usr/include/tirpc/rpc/rpc.h:40, from ../dist-unpack/xserver-21.1.99.1/os/rpcauth.c:47: /usr/include/netinet/in.h:503:12: note: previous declaration of ‘bindresvport’ was here 503 | extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __THROW; | ^~~~~~~~~~~~ Signed-off-by:
Jeremy Huddleston Sequoia <jeremyhu@apple.com>
Jeremy Huddleston Sequoia authoredThis avoids warnings from system headers when building with debian bullseye: In file included from ../dist-unpack/xserver-21.1.99.1/os/rpcauth.c:47: /usr/include/tirpc/rpc/rpc.h:83:12: error: redundant redeclaration of ‘bindresvport’ [-Werror=redundant-decls] 83 | extern int bindresvport(int, struct sockaddr_in *); | ^~~~~~~~~~~~ In file included from /usr/include/tirpc/rpc/rpc.h:40, from ../dist-unpack/xserver-21.1.99.1/os/rpcauth.c:47: /usr/include/netinet/in.h:503:12: note: previous declaration of ‘bindresvport’ was here 503 | extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) __THROW; | ^~~~~~~~~~~~ Signed-off-by:
Jeremy Huddleston Sequoia <jeremyhu@apple.com>