summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcache.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2024-02-20 13:43:08 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2024-02-20 13:49:04 +0100
commit40a75722c43ae24cb9a99d6730a3b25b65819c49 (patch)
treea5e7292b13ed1a77a443f367ea0fd7b2e66b0742 /apt-pkg/pkgcache.cc
parent04ea92054757272c344afdf8d8e68046c7678b37 (diff)
Modernize standard library includes
This was automated with sed and git-clang-format, and then I had to fix up the top of policy.cc by hand as git-clang-format accidentally indented it by two spaces.
Diffstat (limited to 'apt-pkg/pkgcache.cc')
-rw-r--r--apt-pkg/pkgcache.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/pkgcache.cc b/apt-pkg/pkgcache.cc
index 06689aa33..ffe30fa92 100644
--- a/apt-pkg/pkgcache.cc
+++ b/apt-pkg/pkgcache.cc
@@ -32,11 +32,11 @@
#include <apt-pkg/version.h>
#include <algorithm>
+#include <cstddef>
+#include <cstring>
#include <sstream>
#include <string>
#include <vector>
-#include <stddef.h>
-#include <string.h>
#include <sys/stat.h>
#include <xxhash.h>