1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-10-27 05:23:39 -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:
ajakk 2024-09-01 07:28:36 -05:00 committed by GitHub
parent f0f9563ecf
commit e7cf47de71
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 9 additions and 0 deletions

View file

@ -5,6 +5,8 @@
#include "errors.hpp" #include "errors.hpp"
#include "ipc/msg.hpp" #include "ipc/msg.hpp"
#include <cstdint>
POLYBAR_NS POLYBAR_NS
namespace ipc { namespace ipc {

View file

@ -4,6 +4,8 @@
#include "errors.hpp" #include "errors.hpp"
#include "ipc/msg.hpp" #include "ipc/msg.hpp"
#include <cstdint>
POLYBAR_NS POLYBAR_NS
namespace ipc { namespace ipc {

View file

@ -3,6 +3,7 @@
#include "common.hpp" #include "common.hpp"
#include <array> #include <array>
#include <cstdint>
POLYBAR_NS POLYBAR_NS

View file

@ -1,6 +1,7 @@
#pragma once #pragma once
#include <cstdlib> #include <cstdlib>
#include <cstdint>
#include "common.hpp" #include "common.hpp"

View file

@ -1,5 +1,6 @@
#pragma once #pragma once
#include <cstdint>
#include <sstream> #include <sstream>
#include "common.hpp" #include "common.hpp"

View file

@ -2,6 +2,7 @@
#include <cassert> #include <cassert>
#include <cstring> #include <cstring>
#include <cstdint>
POLYBAR_NS POLYBAR_NS

View file

@ -1,6 +1,7 @@
#include "utils/color.hpp" #include "utils/color.hpp"
#include <algorithm> #include <algorithm>
#include <cstdint>
POLYBAR_NS POLYBAR_NS