From 1ce93bd0a50a8b5aed31e96540bc0832ddbecfc4 Mon Sep 17 00:00:00 2001
From: Sergei Trofimovich <slyich@gmail.com>
Date: Sun, 13 Apr 2025 10:30:35 +0100
Subject: [PATCH] nix/libstore/store-api.hh: add missing `<stdint.h>` include
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Without the change `guix` fails to build on fresh `gcc` as:

    In file included from nix/libstore/misc.cc:2:
    nix/libstore/store-api.hh:92:5: error: ‘uint64_t’ does not name a type
       92 |     uint64_t narSize = 0; // 0 = unknown
          |     ^~~~~~~~

* nix/libstore/store-api.hh: Add missing <stdint.h> include.

Signed-off-by: Sergei Trofimovich <slyich@gmail.com>
---
 nix/libstore/store-api.hh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nix/libstore/store-api.hh b/nix/libstore/store-api.hh
index 82a79e50e2..527a240b04 100644
--- a/nix/libstore/store-api.hh
+++ b/nix/libstore/store-api.hh
@@ -7,6 +7,7 @@
 #include <map>
 #include <memory>
 
+#include <stdint.h>
 
 namespace nix {
 
-- 
2.48.1

