1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-24 03:00:35 +02:00

daemon: Fix build with GCC 13.

The sqlite.hh file uses fixed-width integer types from stdint.h. As
such, it needs to include <cstdint>. Without this include, the file
doesn't compile successfully with GCC13.

See: https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes

* nix/libstore/sqlite.hh: include <cstdint>

Signed-off-by: Sören Tempel <soeren@soeren-tempel.net>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Sören Tempel
2023-08-26 09:00:37 +02:00
committed by Ludovic Courtès
parent 9aed82fe05
commit cd46993275

View File

@@ -2,6 +2,7 @@
#include <functional>
#include <string>
#include <cstdint>
#include "types.hh"