Origin: upstream, 8ff75588a750704ae06ad59b843eb88138c95653
From: Kostadin <kostadinshishmanov@protonmail.com>
Date: Fri, 14 Mar 2025 17:48:29 +0200
Bug: https://github.com/herbstluftwm/herbstluftwm/issues/1612
Subject: Add #include <stdint.h> to fix building with gcc 15 (#1613)

With gcc 15, the C++ Standard Library no longer includes other headers that were internally used by the library. In herbstluftwm's case the missing header is `<stdint.h>`

Downstream Gentoo bug: https://bugs.gentoo.org/937529

Closes: #1612

---

--- herbstluftwm-0.9.5.orig/src/xconnection.cpp
+++ herbstluftwm-0.9.5/src/xconnection.cpp
@@ -6,6 +6,7 @@
 #include <X11/Xutil.h>
 #include <X11/extensions/Xrender.h>
 #include <fcntl.h>
+#include <stdint.h>
 #include <unistd.h>
 #include <climits>
 #include <cstring>
