blob: 269044a01ba752248fa4a39e162cd3495fa711c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
https://github.com/enkore/j4-dmenu-desktop/pull/139
From 53e318f155875562b22318395461b836e9ec7e8b Mon Sep 17 00:00:00 2001
From: Sam James <sam@gentoo.org>
Date: Tue, 18 Apr 2023 11:08:53 +0100
Subject: [PATCH] Fix build with GCC 13
GCC 13 (as usual for new compiler releases) shuffles around some internal includes so some
are no longer transitively included.
See https://gnu.org/software/gcc/gcc-13/porting_to.html.
Bug: https://bugs.gentoo.org/895200
--- a/src/Application.hh
+++ b/src/Application.hh
@@ -19,7 +19,8 @@
#define APPLICATION_DEF
#include <algorithm>
-#include <string.h>
+#include <cstdint>
+#include <cstring>
#include <unistd.h>
#include "Utilities.hh"
|