summaryrefslogtreecommitdiff
path: root/apt-pkg/init.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/init.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/init.cc')
-rw-r--r--apt-pkg/init.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/init.cc b/apt-pkg/init.cc
index 3990a1f39..f1742c019 100644
--- a/apt-pkg/init.cc
+++ b/apt-pkg/init.cc
@@ -18,12 +18,12 @@
#include <apt-pkg/strutl.h>
#include <cstdlib>
+#include <cstring>
#include <fstream>
#include <sstream>
#include <string>
#include <unordered_map>
#include <vector>
-#include <string.h>
#include <apti18n.h>
/*}}}*/