summaryrefslogtreecommitdiff
path: root/methods/http.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 /methods/http.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 'methods/http.cc')
-rw-r--r--methods/http.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/methods/http.cc b/methods/http.cc
index b4519a890..9b4550664 100644
--- a/methods/http.cc
+++ b/methods/http.cc
@@ -26,16 +26,16 @@
#include <apt-pkg/string_view.h>
#include <apt-pkg/strutl.h>
+#include <cerrno>
#include <chrono>
+#include <csignal>
+#include <cstddef>
+#include <cstdio>
+#include <cstdlib>
#include <cstring>
#include <iostream>
#include <sstream>
#include <arpa/inet.h>
-#include <errno.h>
-#include <signal.h>
-#include <stddef.h>
-#include <stdio.h>
-#include <stdlib.h>
#include <sys/select.h>
#include <sys/stat.h>
#include <sys/time.h>