diff options
author | Sören Tempel <soeren@soeren-tempel.net> | 2023-08-26 09:00:37 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-09-09 18:47:35 +0200 |
commit | cd469932758bf2bec1ff9c82aeb373e18730d0c4 (patch) | |
tree | d7cc79e7ce6f38473c58f3a66f8daf49c2d7ca30 | |
parent | 9aed82fe05b41ae37737bf741c85d030cf20d345 (diff) | |
download | guix-cd469932758bf2bec1ff9c82aeb373e18730d0c4.tar guix-cd469932758bf2bec1ff9c82aeb373e18730d0c4.tar.gz |
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>
-rw-r--r-- | nix/libstore/sqlite.hh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nix/libstore/sqlite.hh b/nix/libstore/sqlite.hh index 326e4a4855..6cadba6849 100644 --- a/nix/libstore/sqlite.hh +++ b/nix/libstore/sqlite.hh @@ -2,6 +2,7 @@ #include <functional> #include <string> +#include <cstdint> #include "types.hh" |