summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-08 01:44:20 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-08 01:44:20 +0300
commit69a1bbcd0c2170975556bfe495e1f169fd6c7726 (patch)
tree2edca171b40bbbb421f7eaaf857ed79e794730c1 /src/utils
parent34a83475636164cf43551d9ec83ec30da5a7e7f2 (diff)
downloadmv-69a1bbcd0c2170975556bfe495e1f169fd6c7726.tar.gz
mv-69a1bbcd0c2170975556bfe495e1f169fd6c7726.tar.bz2
mv-69a1bbcd0c2170975556bfe495e1f169fd6c7726.tar.xz
mv-69a1bbcd0c2170975556bfe495e1f169fd6c7726.zip
Replace depricated headers.
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,