]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/pick_address: define in_addr_t if it is not defined 42477/head
authorKefu Chai <kchai@redhat.com>
Sat, 1 May 2021 15:30:18 +0000 (23:30 +0800)
committerKefu Chai <kchai@redhat.com>
Sun, 25 Jul 2021 11:20:50 +0000 (19:20 +0800)
commit090de62aafaea0fe2d395e169f154a674e65ec3c
tree4eb66c3e005083a7ae9d60087dc95aaba9db76ea
parentddd30a394ff5459c5b5738401b1abdf0e319f298
common/pick_address: define in_addr_t if it is not defined

neither mingw not not have in_addr_t defined, see
https://docs.microsoft.com/en-us/windows/win32/api/winsock2/ns-winsock2-in_addr,
so define it if it is not defined.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit a06f8edeca0a1d08ff181d18f913bcfe7570bdcd)

Conflicts:
cmake/modules/CephChecks.cmake: trivial resolution
cmake/modules/CephChecks.cmake
src/common/pick_address.cc
src/include/config-h.in.cmake
src/test/test_ipaddr.cc