mirror of
https://github.com/polybar/polybar.git
synced 2025-04-07 17:32:38 -04:00
fix(build): Add missing cstdint includes (#3159)
In GCC 15, cstdint is less commonly included in stdlib headers so we need explicit includes: https://gcc.gnu.org/gcc-15/porting_to.html See-Also: https://bugs.gentoo.org/937526 Signed-off-by: John Helmert III <ajak@gentoo.org>
This commit is contained in:
parent
b3af5a3316
commit
790f129954
8 changed files with 11 additions and 0 deletions
|
@ -9,6 +9,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [Unreleased]
|
||||
### Build
|
||||
- Fixed compiler error in GCC 15 ([`#3159`](https://github.com/polybar/polybar/pull/3159))
|
||||
|
||||
## [3.7.2] - 2024-08-17
|
||||
### Fixed
|
||||
|
|
|
@ -5,6 +5,8 @@
|
|||
#include "errors.hpp"
|
||||
#include "ipc/msg.hpp"
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
POLYBAR_NS
|
||||
|
||||
namespace ipc {
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
#include "errors.hpp"
|
||||
#include "ipc/msg.hpp"
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
POLYBAR_NS
|
||||
|
||||
namespace ipc {
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include "common.hpp"
|
||||
|
||||
#include <array>
|
||||
#include <cstdint>
|
||||
|
||||
POLYBAR_NS
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <cstdlib>
|
||||
#include <cstdint>
|
||||
|
||||
#include "common.hpp"
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <sstream>
|
||||
|
||||
#include "common.hpp"
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
#include <cassert>
|
||||
#include <cstring>
|
||||
#include <cstdint>
|
||||
|
||||
POLYBAR_NS
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
#include "utils/color.hpp"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstdint>
|
||||
|
||||
POLYBAR_NS
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue