summaryrefslogtreecommitdiff
path: root/methods/aptmethod.h
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 /methods/aptmethod.h
parent04ea92054757272c344afdf8d8e68046c7678b37 (diff)
parent40a75722c43ae24cb9a99d6730a3b25b65819c49 (diff)
Merge branch 'modernize-stdlib' into 'main'
Modernize standard library includes See merge request apt-team/apt!329
Diffstat (limited to 'methods/aptmethod.h')
-rw-r--r--methods/aptmethod.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/methods/aptmethod.h b/methods/aptmethod.h
index afc761cc5..26b8c0b55 100644
--- a/methods/aptmethod.h
+++ b/methods/aptmethod.h
@@ -16,7 +16,7 @@
#include <string>
#include <vector>
-#include <stdlib.h>
+#include <cstdlib>
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
@@ -26,7 +26,7 @@
#include <apti18n.h>
#ifdef HAVE_SECCOMP
-#include <signal.h>
+#include <csignal>
#include <seccomp.h>
#endif