summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2023-01-29 13:42:35 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2023-01-29 13:59:30 +0100
commitb7d4e96379c2a56b9222d4640618576a03e4dafd (patch)
treea939257fef815b6fc7a341d23caa19390b2cf4a9
parent896286ecf151620e5e2b88c74e8f361e04224da9 (diff)
Include cstdint for uint16_t in our mmap wrapping
In gcc-13 internal includes were reduced exposing our laziness. Reported-By: gcc-13 Gbp-Dch: Ignore
-rw-r--r--apt-pkg/contrib/mmap.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/contrib/mmap.cc b/apt-pkg/contrib/mmap.cc
index 642e20473..0568e1cd0 100644
--- a/apt-pkg/contrib/mmap.cc
+++ b/apt-pkg/contrib/mmap.cc
@@ -23,6 +23,7 @@
#include <apt-pkg/macros.h>
#include <apt-pkg/mmap.h>
+#include <cstdint>
#include <cstring>
#include <string>
#include <errno.h>