summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/env.cpp2
-rw-r--r--src/utils/process.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/env.cpp b/src/utils/env.cpp
index 364493500..deb016931 100644
--- a/src/utils/env.cpp
+++ b/src/utils/env.cpp
@@ -24,7 +24,7 @@
#include "logger.h"
#include "settings.h"
-#include <stdlib.h>
+#include <cstdlib>
#include "debug.h"
diff --git a/src/utils/process.cpp b/src/utils/process.cpp
index 6431c22d5..56eaff27e 100644
--- a/src/utils/process.cpp
+++ b/src/utils/process.cpp
@@ -108,7 +108,7 @@ bool execFile(const std::string &pathName, const std::string &name A_UNUSED,
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>
-#include <signal.h>
+#include <csignal>
int execFileWait(const std::string &pathName, const std::string &name,
const std::string &arg1, const std::string &arg2,