diff options
author | MacroFake <falke.marco@gmail.com> | 2022-09-25 11:45:17 +0000 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-09-25 11:45:41 +0000 |
commit | ec13810a007669518a98a464cd540bc37ec7e306 (patch) | |
tree | a7eb72deb82b05336fbe27f0151f6f18c58cbf4e /src/ipc/interfaces.cpp | |
parent | 0cfbb171bd6f61a4edba913e281553b9bdf08d4a (diff) | |
parent | 553ff452c0e95a9647d35f10f67e45f24bd2d9b7 (diff) |
Merge bitcoin/bitcoin#26159: build: Remove `stdlib.h` from header checks
553ff452c0e95a9647d35f10f67e45f24bd2d9b7 build: remove stdlib.h from header checks (fanquake)
a63d4cb26a2830b297288aa6acf5b69108353334 refactor: use <cstdlib> over stdlib.h (fanquake)
Pull request description:
We already use a mix of `<cstlib>` and `stdlib.h` unconditionally throughout
the codebase.
Us checking this header also duplicates work already done by autotools.
Currently stdlib.h is checked for 3 times during a ./configure run, after
this change, at least it's only twice.
Similar to #26150.
ACKs for top commit:
kristapsk:
ACK 553ff452c0e95a9647d35f10f67e45f24bd2d9b7
TheCharlatan:
ACK 553ff452c0e95a9647d35f10f67e45f24bd2d9b7
Tree-SHA512: 0a43d39d3df180a1614dbd3a1ee1531b0969ffe4a0c09dfe9d2f3f0ec16196b5fd7523309f6722936a8c8b20908508724e1903e939dd81c3b4538d85d0f42953
Diffstat (limited to 'src/ipc/interfaces.cpp')
-rw-r--r-- | src/ipc/interfaces.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipc/interfaces.cpp b/src/ipc/interfaces.cpp index f4115db982..ee0d4123ce 100644 --- a/src/ipc/interfaces.cpp +++ b/src/ipc/interfaces.cpp @@ -13,10 +13,10 @@ #include <util/system.h> #include <cstdio> +#include <cstdlib> #include <functional> #include <memory> #include <stdexcept> -#include <stdlib.h> #include <string.h> #include <string> #include <unistd.h> |