mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
Merge #20221: net: compat.h related cleanup
cadb77a6abnet: Add compat.h header for htonl function (Hennadii Stepanov)f796f0057bnet: Drop unneeded headers when compat.h included (Hennadii Stepanov)467c346448net: Drop unneeded Windows headers in compat.h (Hennadii Stepanov) Pull request description: It is the `compat.h` header's job to provide platform-agnostic interfaces for internet operations. No need in `#include <arpa/inet.h>` scattered around. ACKs for top commit: practicalswift: re-ACKcadb77a6ab: patch looks even better laanwj: Code review ACKcadb77a6abTree-SHA512: 625ff90b2806310ab856a6ca1ddb6d9a85aa70f342b323e8525a711dd12219a1ecec8373ec1dca5a0653ffb11f9b421753887b25615d991ba3132c1cca6a3c6e
This commit is contained in: