summaryrefslogtreecommitdiff
path: root/test/libapt/compareversion_test.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 /test/libapt/compareversion_test.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 'test/libapt/compareversion_test.cc')
-rw-r--r--test/libapt/compareversion_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/libapt/compareversion_test.cc b/test/libapt/compareversion_test.cc
index 012932286..0fe32cf98 100644
--- a/test/libapt/compareversion_test.cc
+++ b/test/libapt/compareversion_test.cc
@@ -22,9 +22,9 @@
#include <apt-pkg/error.h>
#include <apt-pkg/fileutl.h>
+#include <cstdlib>
#include <fstream>
#include <string>
-#include <stdlib.h>
#include <sys/wait.h>
#include <unistd.h>