summaryrefslogtreecommitdiff
path: root/apt-pkg/algorithms.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2024-02-20 15:45:19 +0000
committerJulian Andres Klode <jak@debian.org>2024-02-20 15:45:19 +0000
commite1eb204542c456732160a154225e743bc552b6b2 (patch)
treea5e7292b13ed1a77a443f367ea0fd7b2e66b0742 /apt-pkg/algorithms.cc
parent04ea92054757272c344afdf8d8e68046c7678b37 (diff)
parent40a75722c43ae24cb9a99d6730a3b25b65819c49 (diff)
Merge branch 'modernize-stdlib' into 'main'
Modernize standard library includes See merge request apt-team/apt!329
Diffstat (limited to 'apt-pkg/algorithms.cc')
-rw-r--r--apt-pkg/algorithms.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/algorithms.cc b/apt-pkg/algorithms.cc
index 24a41b70a..5869668cd 100644
--- a/apt-pkg/algorithms.cc
+++ b/apt-pkg/algorithms.cc
@@ -32,6 +32,7 @@
#include <apt-pkg/prettyprinters.h>
#include <cstdlib>
+#include <cstring>
#include <iostream>
#include <map>
#include <set>
@@ -39,7 +40,6 @@
#include <string>
#include <utility>
#include <vector>
-#include <string.h>
#include <sys/utsname.h>
#include <apti18n.h>